pub fn batch_command_line(
script: &[u16],
args: &[Vec<u16>],
) -> Result<Vec<u16>, CmdLineError>Expand description
Builds the argument string for cmd.exe, running script with args.
The returned value starts at the switches, so a caller passes it as a single
raw argument to a cmd.exe process: nothing re-quotes it on the way out.
ยงErrors
Returns CmdLineError::ScriptPath if the script path cannot be quoted,
and CmdLineError::LineBreak or CmdLineError::Nul for an argument
that cmd.exe cannot carry.