pub trait CmdPipe { fn pipe(&mut self, piped_command: &mut Command) -> Result<Output, Error>; }
Pipe stdout of self to stdin of piped_command
self
piped_command
command.pipe(cmd) can result in std::io::Error
std::io::Error
spawn
wait