Method

GioSubprocessget_stdout_pipe

since: 2.40

Declaration

GInputStream*
g_subprocess_get_stdout_pipe (
  GSubprocess* subprocess
)

Description

Gets the GInputStream from which to read the stdout output of subprocess.

The process must have been created with G_SUBPROCESS_FLAGS_STDOUT_PIPE, otherwise NULL will be returned.

Available since: 2.40

Return value

Type: GInputStream

The stdout pipe.

The data is owned by the instance.
The return value can be NULL.