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

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: