tokenize

Function tokenize 

Source
pub fn tokenize(command: &str) -> Vec<String>
Expand description

Split a filled command line into program + args, honoring double quotes so a quoted argument with spaces stays one token. Clean-room (no shell dependency, portable). Single quotes are literal — adapters quote with ".