Function winsafe::CommandLineToArgv[][src]

pub fn CommandLineToArgv(cmd_line: &str) -> WinResult<Vec<String>>
Expand description

CommandLineToArgv function.

Examples

use winsafe::{CommandLineToArgv, GetCommandLine};

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