pub fn pipe_through_command( cmd: &str, input: &str, cwd: &Path, bufid: usize, ) -> Result<String>
Pipe input text through an external command, returning the output