execute_command

Function execute_command 

Source
pub fn execute_command(executable: &OsStr, args: &[&OsStr]) -> CommandResult
Expand description

execute_command

use doe::execute_command;
let result = execute_command("nasm".as_ref(), &["-version".as_ref()]);
println!("{:?}",result);