sync: SHANGHAI-U9 2026-07-27
This commit is contained in:
@@ -30,6 +30,11 @@ def _run_command(command: Sequence[str], values: Mapping[str, str], timeout: int
|
||||
capture_output=True,
|
||||
check=False,
|
||||
text=True,
|
||||
# Windows with a CJK locale defaults text mode to GBK; the codex review
|
||||
# output is UTF-8 (Chinese) -> UnicodeDecodeError in the reader thread and
|
||||
# result.stdout comes back None. Pin UTF-8 and never hard-fail on decode.
|
||||
encoding="utf-8",
|
||||
errors="replace",
|
||||
timeout=timeout,
|
||||
)
|
||||
elapsed = time.monotonic() - t0
|
||||
|
||||
Reference in New Issue
Block a user