[−][src]Macro cmd_lib::run_fun
run_fun! --> FunResult
let version = run_fun!("rustc --version")?; info!("Your rust version is {}", version.trim()); // with pipes let n = run_fun!("echo the quick brown fox jumped over the lazy dog | wc -w")?; info!("There are {} words in above sentence", n.trim());