fix: restore configured windows sandbox

This commit is contained in:
KOKO\Mimi
2026-08-09 04:46:36 +09:00
parent 2fc2629637
commit 639f4082c8
2 changed files with 4 additions and 18 deletions
+4 -10
View File
@@ -251,15 +251,9 @@ class StepExecutor:
sys.exit(1)
prompt = preamble + step_file.read_text(encoding="utf-8")
command = ["codex", "exec"]
if os.name == "nt":
command.extend([
"-c",
'windows.sandbox="unelevated"',
"-c",
"windows.sandbox_private_desktop=false",
])
command.extend([
command = [
"codex",
"exec",
"--json",
"--sandbox",
"workspace-write",
@@ -267,7 +261,7 @@ class StepExecutor:
"--cd",
self._root,
"-",
])
]
try:
result = subprocess.run(
command,