Function fsutils::run_command [−][src]
pub fn run_command(program: &str, args: Vec<&str>) -> Option<i32>
Expand description
Execute an arbitrary system command
Usage
use fsutils::run_command; assert!(run_command("ls", ["-l"].to_vec()).is_some());