pub fn run(command: Command, command_name: &str) -> Result<()>
Run the given command and return on success.