send


Description:

public void send (string text) throws Error

Write to the running command's stdin. Needs keep_stdin set before exec; otherwise the command is reading /dev/null and there is no pipe.

Nothing is appended — a caller that wants a completed line sends the newline itself.

Parameters:

text

bytes to write, verbatim

Exceptions:

GLib.Error

if the command has ended, has no stdin pipe, or the write fails