HomeManualTopicsTypesSymbols

std::create_process

creates a new child process

Parameters

filename
the executable image of the new process
arguments
a list of arguments to supply to the new process
environment (optional)
a list of environment variables or
stdin (optional)
a file-descriptor to be used as the process' stdin

Results

None

Description

Returns the process id of the child process, a file-descriptor to write to the process' stdin-channel - only if no stdin was supplied as an argument, a file-descriptor to read from the process' stdout-channel, and a file-descriptor to read from the process' stderr-channel