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