pub fn status_with_input( cmd: &mut Command, input: &[u8], default: Duration, ) -> Result<ExitStatus>
Runs cmd with input on its stdin and the output streams it was given (an agent reading its prompt).
cmd
input