fix(#7): specify encoding on subprocess

This commit is contained in:
Daylin Morgan 2024-03-05 10:20:43 -06:00
parent 28d60bffa0
commit 6f5ec7e73e
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -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: