codex no sandbox (its already sandboxed)
This commit is contained in:
@@ -567,7 +567,8 @@ function buildRemoteCodexCommand(prompt: string) {
|
||||
"Task:",
|
||||
prompt,
|
||||
].join("\n");
|
||||
const codexCommand = `codex exec --skip-git-repo-check ${shellQuote(wrappedPrompt)} < /dev/null`;
|
||||
const codexCommand =
|
||||
`codex exec --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check ${shellQuote(wrappedPrompt)} < /dev/null`;
|
||||
return `mkdir -p ${shellQuote(workdir)} && cd ${shellQuote(workdir)} && ${codexCommand}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user