Function winsafe::CommandLineToArgv

source ·
pub fn CommandLineToArgv(cmd_line: &str) -> SysResult<Vec<String>>
Available on crate feature shell only.
Expand description

CommandLineToArgv function.

§Examples

use winsafe::{self as w, prelude::*};

let args = w::CommandLineToArgv(&w::GetCommandLine())?;
for arg in args.iter() {
    println!("{}", arg);
}