Skip to main content

command_might_be_dangerous

Function command_might_be_dangerous 

Source
pub fn command_might_be_dangerous(command: &[String]) -> bool
Expand description

Checks if a command appears dangerous to execute. Returns true if the command should be blocked before execution.