Struct pipers::Pipe [] [src]

pub struct Pipe { /* fields omitted */ }

Data structure used to hold processes and allows for the chaining of commands

Methods

impl Pipe
[src]

Creates a new Pipe by taking in a command as input. An empty string as input will cause the eventual end of the piping to have an error returned. Make sure you place in an actual command.

This is used to chain commands together. Use this for each command that you want to pipe.

Return the Child process of the final command that had data piped into it.