fix: add errors='replace' to subprocess.run for non-utf8 locales

This commit is contained in:
2026-05-22 20:44:25 +04:00
parent 684976907d
commit 8ccac570ce

View File

@@ -35,6 +35,7 @@ def run(cmd, cwd=None, env=None, check=True, capture=True, shell=True, timeout=3
shell=shell,
capture_output=capture,
text=True,
errors='replace',
timeout=timeout,
check=False,
)