mirror of
https://github.com/openai/codex.git
synced 2026-05-02 02:17:22 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user