mirror of
https://github.com/openai/codex.git
synced 2026-06-01 19:02:59 +00:00
Deny direct process spawn methods in Clippy
This commit is contained in:
@@ -76,6 +76,7 @@ async fn spawn_command_under_sandbox(
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::disallowed_methods, reason = "Grandfathered-in usage.")]
|
||||
child.kill_on_drop(true).spawn()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user