mirror of
https://github.com/openai/codex.git
synced 2026-04-26 15:45:02 +00:00
Address exec-server sandbox review feedback
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user