subprocess::ivariable_descriptor class

Base classes

class ipipe_descriptor
A descriptor wrapping the input end of a posix OS pipe.

Constructors, destructors, conversion operators

ivariable_descriptor(std::string input_data) explicit

Public functions

void open() override
Initialize call before the process runs.
void write() virtual

Function documentation

void subprocess::ivariable_descriptor::open() override

Initialize call before the process runs.

open() is called by subprocess::execute() right before spawning the child process. This is the function to write for the set up of your I/O from the process.