Skip to main content

output_within

Function output_within 

Source
pub fn output_within(
    command: &mut Command,
    deadline: Duration,
    running: &Running,
) -> Result<Output>
Expand description

command’s output, as Command::output gives it, with no input; with its group killed past deadline, which covers reading what it wrote too: a process it left behind holding its pipes does not hold the read.