(&self, program: &str, args: &[&str])
| 47 | } |
| 48 | |
| 49 | fn ok(&self, program: &str, args: &[&str]) -> String { |
| 50 | let output = self.command(program, args); |
| 51 | assert!(output.status.success(), "{program} {args:?}: {output:?}"); |
| 52 | String::from_utf8(output.stdout).unwrap() |
| 53 | } |
| 54 | |
| 55 | fn atomic(&self, args: &[&str]) -> String { |
| 56 | self.ok(env!("CARGO_BIN_EXE_atomic"), args) |