Method

IdeRunContextcreate_stdio_stream

Declaration

GIOStream*
ide_run_context_create_stdio_stream (
  IdeRunContext* self
  GError** error
)

Description

Creates a stream to communicate with the subprocess using stdin/stdout.

The stream is created using UNIX pipes which are attached to the stdin/stdout of the child process.

Return value

Type: GIOStream

A GIOStream if successful; otherwise NULL and error is set.

The caller of the method takes ownership of the data, and is responsible for freeing it.