subprocess::Popen::send

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

Synopsis

Declared in <util/subprocess.h>

int
send(std::string const& msg);

Return Value

Number of bytes written, or -1 on error.

Parameters

NameDescription
msgText to send.