Method

IdePipelineattach_launcher

Declaration

guint
ide_pipeline_attach_launcher (
  IdePipeline* self,
  IdePipelinePhase phase,
  gint priority,
  IdeSubprocessLauncher* launcher
)

Description

This creates a new stage that will spawn a process using launcher and log the output of stdin/stdout.

It is a programmer error to modify launcher after passing it to this function.

Parameters

phase

Type: IdePipelinePhase

An IdePipelinePhase.

priority

Type: gint

An optional priority for sorting within the phase.

launcher

Type: IdeSubprocessLauncher

An IdeSubprocessLauncher.

The data is owned by the caller of the method.

Return value

Type: guint

A stage_id that may be passed to ide_pipeline_remove().