spawnAsyncWithPipes

Identical to glib.global.spawnAsyncWithPipesAndFds but with n_fds set to zero, so no FD assignments are used.

Parameters

workingDirectory string

child's current working directory, or null to inherit parent's, in the GLib file name encoding

argv string[]

child's argument vector, in the GLib file name encoding; it must be non-empty and null-terminated

envp string[]

child's environment, or null to inherit parent's, in the GLib file name encoding

flags glib.types.SpawnFlags

flags from #GSpawnFlags

childSetup glib.types.SpawnChildSetupFunc

function to run in the child just before exec()

childPid glib.types.Pid

return location for child process ID, or null

standardInput int

return location for file descriptor to write to child's stdin, or null

standardOutput int

return location for file descriptor to read child's stdout, or null

standardError int

return location for file descriptor to read child's stderr, or null

Return Value

Type: bool

true on success, false if an error was set