pub fn run_cmd(cmd: Command) -> Result<(), RunCommandError>
Log a command and run it.
Returns an error if the process fails to launch or if the exit code is non-zero.