subprocess::input

Option to specify the input channel for the child process. It can be: 1. An already open file descriptor. 2. A file name. 3. IOTYPE. Usual a PIPE

Synopsis

Declared in <util/subprocess.h>

struct input;

Description

Eg: input{PIPE} OR in case of redirection, output of another Popen input{popen.output()}

Member Functions

NameDescription
input [constructor]Constructors

Data Members

NameDescription
rd_ch_ Read end of the channel, or -1 if unused.
wr_ch_ Write end of the channel, or -1 if unused.