mirror of
https://github.com/openai/codex.git
synced 2026-11-14 21:40:39 +00:00
feat: update process_exec_tool_call() to take a cancellation token
This commit is contained in:
@@ -65,6 +65,7 @@ async fn run_cmd(cmd: &[&str], writable_roots: &[PathBuf], timeout_ms: u64) {
|
||||
sandbox_cwd.as_path(),
|
||||
&codex_linux_sandbox_exe,
|
||||
None,
|
||||
None,
|
||||
)
|
||||
.await
|
||||
.unwrap();
|
||||
@@ -160,6 +161,7 @@ async fn assert_network_blocked(cmd: &[&str]) {
|
||||
sandbox_cwd.as_path(),
|
||||
&codex_linux_sandbox_exe,
|
||||
None,
|
||||
None,
|
||||
)
|
||||
.await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user