Skip to main content

shell_exit

Function shell_exit 

Source
pub fn shell_exit(fail_on_deny: bool, text: &str) -> i32
Expand description

Exit status for a shell agent. fail_on_deny leaves the usual exit of 0 alone, and otherwise returns 1 when answer_denies is true.