Gio.Subprocess.prototype.get_stdin_pipe

function get_stdin_pipe(): Gio.OutputStream {
    // Gjs wrapper for g_subprocess_get_stdin_pipe()
}
  

Gets the Gio.OutputStream that you can write to in order to give data to the stdin of subprocess.

The process must have been created with Gio.SubprocessFlags.stdin_pipe.

Since 2.40

Returns

the stdout pipe