mirror of
https://github.com/openai/codex.git
synced 2026-05-01 18:06:47 +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:
@@ -45,14 +45,12 @@ impl Drop for ExecServerHarness {
|
||||
|
||||
pub(crate) struct TestCodexHelperPaths {
|
||||
pub(crate) codex_exe: PathBuf,
|
||||
pub(crate) codex_linux_sandbox_exe: Option<PathBuf>,
|
||||
}
|
||||
|
||||
pub(crate) fn test_codex_helper_paths() -> anyhow::Result<TestCodexHelperPaths> {
|
||||
let (helper_binary, codex_linux_sandbox_exe) = super::current_test_binary_helper_paths()?;
|
||||
let helper_binary = super::current_test_binary_helper_path()?;
|
||||
Ok(TestCodexHelperPaths {
|
||||
codex_exe: helper_binary,
|
||||
codex_linux_sandbox_exe,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user