mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-09-20 12:13:38 +08:00
fix: harden subprocess output decoding across lessons
This commit is contained in:
@@ -88,7 +88,7 @@ def _run_bash_process(command: str) -> tuple[str, int | None]:
|
||||
cwd=WORKDIR,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
text=True,
|
||||
text=True, errors="replace",
|
||||
start_new_session=True,
|
||||
)
|
||||
with _shell_process_lock:
|
||||
|
||||
Reference in New Issue
Block a user