pub fn run_interactive<S: Scheduler>(
sched: &S,
req: &Request,
sink: &mut dyn FnMut(Stream, &[u8]),
) -> Result<i32>Expand description
Run the request through sched and return the journey’s exit code. Output is handed to sink
as it is written. Errors: task creation or start failure, the task never starting, the timeout
(the journey tree is killed), an unreadable exit file.