Skip to main content

codex_cli/agent/
exec.rs

1use std::io::Write;
2
3pub fn require_allow_dangerous(caller: Option<&str>, stderr: &mut impl Write) -> bool {
4    crate::runtime::require_allow_dangerous(caller, stderr)
5}
6
7pub fn exec_dangerous(prompt: &str, caller: &str, stderr: &mut impl Write) -> i32 {
8    crate::runtime::exec_dangerous(prompt, caller, stderr)
9}