(self, cond: bool, args: I)
| 53 | } |
| 54 | |
| 55 | fn args_if<I, S>(self, cond: bool, args: I) -> Self |
| 56 | where |
| 57 | I: IntoIterator<Item = S>, |
| 58 | S: Into<OsString>, |
| 59 | { |
| 60 | if cond { self.args(args) } else { self } |
| 61 | } |
| 62 | |
| 63 | fn run(self) -> Result<(), Error> { |
| 64 | Expression::run(&self).map_err(Error::Command)?; |