pub fn bounded_command_until(
argv: &[String],
input: Vec<u8>,
timeout: Duration,
maximum: usize,
abort: &dyn Fn() -> bool,
) -> Result<(ExitStatus, Vec<u8>, Vec<u8>)>Expand description
bounded_command that also stops the command’s process group, with an
Interrupted error, as soon as abort returns true. The command runs in
its own group, so a terminal’s SIGINT to the caller does not reach it.