subprocess::Popen::send

Sends the contents of a byte vector to the child's input channel.

Synopsis

Declared in <util/subprocess.h>

int
send(std::vector<char> const& msg);

Return Value

Number of bytes written, or -1 on error.

Parameters

NameDescription
msgBytes to send.