Skip to main content

argv_of_line

Function argv_of_line 

Source
pub fn argv_of_line(line: &str) -> Vec<String>
Expand description

A command line as an argv: split on ASCII whitespace when it is a plain command, else given to sh -c whole — which a person decides, so a shell’s meaning (or a look-alike space) is never guessed.