Expand description
Process command-line argument encoding and parsing.
Windows process creation receives one command-line string, not an argv
array. join_arguments encodes an argv-like input using the convention
understood by the MSVC runtime and Rust’s standard library; pair it with
split_arguments when parsing that same convention.
Structs§
- NulError
- An argument contains a NUL character and cannot be represented in a Windows command line.
Functions§
- join_
arguments - Encodes arguments as one MSVC-compatible Windows command line.
- quote_
argument - Appends one argument encoded with the quoting rules used by MSVC-compatible
Windows command-line parsers and
std::process::Command. - split_
arguments - Parses an MSVC-compatible Windows command line into arguments.