Extends the array of arguments passed to the child process with `args`.
(&mut self, args: I)
| 374 | |
| 375 | /// Extends the array of arguments passed to the child process with `args`. |
| 376 | pub fn args<I>(&mut self, args: I) -> &mut Self |
| 377 | where |
| 378 | I: IntoIterator, |
| 379 | I::Item: Into<OsString>, |
| 380 | { |
| 381 | self.as_mut().args.extend(args.into_iter().map(Into::into)); |
| 382 | self |
| 383 | } |
| 384 | |
| 385 | /// Returns the currently configured list of command line arguments |
| 386 | pub fn get_args(&self) -> &[OsString] { |
no test coverage detected