Address exec-server sandbox review feedback

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-07 10:19:15 -07:00
parent 6c3e55f61d
commit c8ede67d06
13 changed files with 212 additions and 195 deletions

View File

@@ -44,11 +44,6 @@ pub(crate) async fn exec_server() -> anyhow::Result<ExecServerHarness> {
let binary = cargo_bin("codex-exec-server")?;
let mut child = Command::new(binary);
child.args(["--listen", "ws://127.0.0.1:0"]);
if cfg!(target_os = "linux")
&& let Ok(sandbox_binary) = cargo_bin("codex-linux-sandbox")
{
child.env("CODEX_LINUX_SANDBOX_EXE", sandbox_binary);
}
child.stdin(Stdio::null());
child.stdout(Stdio::piped());
child.stderr(Stdio::inherit());