Skip to main content

normalize_command_for_shell

Function normalize_command_for_shell 

Source
pub fn normalize_command_for_shell(command: &str) -> String
Expand description

On Windows cmd.exe, ; is not a valid command separator. Convert cmd1; cmd2 to cmd1 && cmd2 when running under cmd.exe.