Communicating with a Child Process
process_read reads data from one of the child process' streams,
standard output or standard error output, and returns
it as a
process_write writes data into child's
standard input stream.
1 2 3 4
Process handle obtained from
Output stream name,
Optional timeout in milliseconds.
If there is any data within the given
Input for the child process.
process_read() then the invocation of
read() system-call will be repeated until
the pipe buffer is empty.
For details on
process_read returns a
which contains lines of child's output.
process_write returns the number of characters
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.