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

Synopsis

Declared in <util/subprocess.h>

struct output;

Description

Eg: output{PIPE} OR output{"output.txt"}

Member Functions

Name

Description

output [constructor]

Constructors

Data Members

Name

Description

rd_ch_

Read end of the channel, or ‐1 if unused.

wr_ch_

Write end of the channel, or ‐1 if unused.

Created with MrDocs