fix: fix windows encoding issue

This commit is contained in:
Jan Meyer
2026-02-10 20:58:19 +01:00
parent fd3f6cc317
commit 33741b1335
2 changed files with 4 additions and 0 deletions

View File

@@ -83,6 +83,8 @@ def run_encode(cmd: list[str], input_path: str | None = None) -> int:
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
encoding="utf-8",
errors="replace",
)
progress = Progress(

View File

@@ -74,6 +74,8 @@ def run(cmd: list[str], capture: bool = True) -> subprocess.CompletedProcess:
cmd,
capture_output=capture,
text=True,
encoding="utf-8",
errors="replace",
)