Simplify exec-server runtime paths

Route Linux filesystem sandboxing through the configured Codex executable instead of carrying a separate linux-sandbox helper path through ExecServerRuntimePaths.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-15 13:38:54 -07:00
parent ab715021e6
commit e5e2aca735
14 changed files with 31 additions and 106 deletions

View File

@@ -1126,10 +1126,7 @@ async fn run_exec_server_command(
.codex_self_exe
.clone()
.ok_or_else(|| anyhow::anyhow!("Codex executable path is not configured"))?;
let runtime_paths = codex_exec_server::ExecServerRuntimePaths::new(
codex_self_exe,
arg0_paths.codex_linux_sandbox_exe.clone(),
)?;
let runtime_paths = codex_exec_server::ExecServerRuntimePaths::new(codex_self_exe)?;
codex_exec_server::run_main(&cmd.listen, runtime_paths)
.await
.map_err(anyhow::Error::from_boxed)