Function lsio::commands::run_args [] [src]

pub fn run_args(cmd: &str, args: &[String], shell: bool) -> Result<Output>

run_args - pass in the cmd as low_level &str and args as a String slice

The function allows you to add all of the options to a given command to

Example

let mut args: Vec<String> = Vec::new();
args.push("aux".to_string());

run_args("ps", &args);Run