mirror of
https://github.com/daylinmorgan/monolisa-nerdfont-patch.git
synced 2024-12-22 06:50:44 -06:00
fix(#7): specify encoding on subprocess
This commit is contained in:
parent
28d60bffa0
commit
6f5ec7e73e
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def run_cmd(
|
||||||
command,
|
command,
|
||||||
stdout=None if verbose else subprocess.PIPE,
|
stdout=None if verbose else subprocess.PIPE,
|
||||||
stderr=None if verbose else subprocess.STDOUT,
|
stderr=None if verbose else subprocess.STDOUT,
|
||||||
universal_newlines=True,
|
encoding="utf-8",
|
||||||
)
|
)
|
||||||
|
|
||||||
if p.returncode != 0 and not ignore_error:
|
if p.returncode != 0 and not ignore_error:
|
||||||
|
|
Loading…
Reference in a new issue