Subprocess.new_

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

The argument list is expected to be null-terminated.

class Subprocess
static
new_

Parameters

argv string[]

commandline arguments for the subprocess

flags gio.types.SubprocessFlags

flags that define the behaviour of the subprocess

Return Value

Type: gio.subprocess.Subprocess

A newly created #GSubprocess, or null on error (and error will be set)