Skip to main content

validate_command_argv

Function validate_command_argv 

Source
pub fn validate_command_argv(command: &[String]) -> Result<()>
Expand description

Validate an explicit argv command without flattening argument boundaries into shell text. Only an explicit shell -c/-lc argument is parsed as a script; metacharacters in ordinary argv values remain literal.