fix: disable private desktop for harness sandbox

This commit is contained in:
KOKO\Mimi
2026-08-09 04:34:31 +09:00
parent 9406105014
commit cbce387a8c
2 changed files with 13 additions and 3 deletions
+6 -1
View File
@@ -253,7 +253,12 @@ class StepExecutor:
prompt = preamble + step_file.read_text(encoding="utf-8")
command = ["codex", "exec"]
if os.name == "nt":
command.extend(["-c", 'windows.sandbox="unelevated"'])
command.extend([
"-c",
'windows.sandbox="unelevated"',
"-c",
"windows.sandbox_private_desktop=false",
])
command.extend([
"--json",
"--sandbox",