Sends raw bytes to the child, then reads its output and error until it exits.
Synopsis
Declared in <util/subprocess.h>
std::pair<OutBuffer, ErrBuffer>
communicate(
char const* msg,
size_t length);
Return Value
The captured output and error buffers.
Parameters
Name |
Description |
msg |
Pointer to the bytes to send first. |
length |
Number of bytes to send. |
Created with MrDocs