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
Declared in <util/subprocess.h>
struct input;
Eg: input{PIPE} OR in case of redirection, output of another Popen input{popen.output()}
| Name | Description |
|---|---|
input [constructor] | Constructors |
| Name | Description |
|---|---|
rd_ch_ | Read end of the channel, or -1 if unused. |
wr_ch_ | Write end of the channel, or -1 if unused. |