(cmd: &mut Command)
| 216 | } |
| 217 | |
| 218 | fn cmd_output(cmd: &mut Command) -> Output { |
| 219 | eprintln!("Running: `{:?}`", cmd); |
| 220 | match cmd.output() { |
| 221 | Ok(o) => o, |
| 222 | Err(e) => panic!("Failed to run `{:?}`: {}", cmd, e), |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | fn cmd_status(cmd: &mut Command) -> ExitStatus { |
| 227 | eprintln!("Running: `{:?}`", cmd); |