Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
805c37aa
Verified
Commit
805c37aa
authored
Oct 15, 2021
by
Baptiste Beauplat
Browse files
Force utf-8 decoding when running an external command
parent
e85d0d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/tools/proc.py
View file @
805c37aa
...
@@ -40,5 +40,6 @@ def debexpo_exec(command, args, **kwargs):
...
@@ -40,5 +40,6 @@ def debexpo_exec(command, args, **kwargs):
return
check_output
([
command
]
+
args
,
return
check_output
([
command
]
+
args
,
timeout
=
timeout
,
timeout
=
timeout
,
encoding
=
'utf-8'
,
text
=
True
,
text
=
True
,
**
kwargs
)
**
kwargs
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment