rexpect::process::wait
pub fn waitpid<P>( pid: P, options: Option<WaitPidFlag>) -> Result<WaitStatus, Error> where P: Into<Option<Pid>>,