run_cmd

Function run_cmd 

Source
pub fn run_cmd(cmd: Command) -> Result<(), RunCommandError>
Expand description

Log a command and run it.

Returns an error if the process fails to launch or if the exit code is non-zero.