Skip to main content

run_within

Function run_within 

Source
pub fn run_within(
    bin: &str,
    args: &[impl AsRef<str>],
    deadline: Duration,
) -> Result<()>
Expand description

run that stops bin at deadline and prints what it wrote. A habitat that never exits used to hold the verb with it.

ยงErrors

bin is not on PATH, it did not answer in time, or it exited non-zero.