fix(#7): just ignore encoding errors

This commit is contained in:
Daylin Morgan 2024-03-25 10:37:57 -05:00
parent 52feb46c34
commit f94b79f4f7
Signed by: daylin
GPG Key ID: 950D13E9719334AD
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ def run_cmd(
command,
stdout=None if verbose else subprocess.PIPE,
stderr=None if verbose else subprocess.STDOUT,
encoding="utf-8",
errors="replace", # different encoding should hopefully just result in bad UI but working fonts
)
if p.returncode != 0 and not ignore_error: