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.
| text |
bytes to write, verbatim |
| GLib.Error |
if the command has ended, has no stdin pipe, or the write fails |