pub fn run_command( cmd: &[&str], cwd: Option<&Path>, check: bool, capture: bool, ) -> Result<CommandResult>
Run a shell command.