Subprocess.this

Create a new process with the given flags and argument list.

The argument list is expected to be %NULL-terminated.

  1. this(GSubprocess* gSubprocess, bool ownedRef)
  2. this(string[] argv, GSubprocessFlags flags)
    class Subprocess
    this

Parameters

argv string[]

commandline arguments for the subprocess

flags GSubprocessFlags

flags that define the behaviour of the subprocess

Return Value

A newly created #GSubprocess, or %NULL on error (and @error will be set)

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.40