pub fn command_pipe(
command: &mut Command,
piped: &mut Command,
) -> Result<Output, Error>Expand description
Pipe stdout of command to stdin of piped command
ยงErrors
command_pipe can result in std::io::Error
- when
spawnorwaitfail - when there is an issue with the stdout / stdin pipe (std::io::ErrorKind::BrokenPipe)