Method

IdeRunContextspawn

Declaration

IdeSubprocess*
ide_run_context_spawn (
  IdeRunContext* self
  GError** error
)

Description

Spwans the run command.

If there is a failure to build the command into a subprocess launcher, then NULL is returned and error is set.

If the subprocess fails to launch, then NULL is returned and error is set.

Return value

Type: IdeSubprocess

An IdeSubprocess if successful; otherwise NULL and error is set.

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