(
description: impl AsRef<str>,
exe: impl AsRef<str>,
args: impl IntoIterator<Item = &'a str>,
)
| 182 | } |
| 183 | |
| 184 | pub(crate) fn new_and_run<'a>( |
| 185 | description: impl AsRef<str>, |
| 186 | exe: impl AsRef<str>, |
| 187 | args: impl IntoIterator<Item = &'a str>, |
| 188 | ) -> Result<()> { |
| 189 | let mut t = Self::new(description.as_ref(), exe); |
| 190 | t.cmd.args(args); |
| 191 | t.run() |
| 192 | } |
| 193 | } |