pipe_through_command

Function pipe_through_command 

Source
pub fn pipe_through_command<I, S>(
    cmd: &str,
    args: I,
    input: &str,
    cwd: &Path,
    bufid: usize,
) -> Result<String>
where I: IntoIterator<Item = S>, S: AsRef<OsStr>,
Expand description

Pipe input text through an external command, returning the output