child's current working directory, or null to inherit parent's
child's argument vector
child's environment, or null to inherit parent's
flags from GLib.SpawnFlags
file descriptor to use for child's stdin, or -1
file descriptor to use for child's stdout, or -1
file descriptor to use for child's stderr, or -1
the PID of the child on success, 0 if error is set
A wrapper around
g_spawn_async_with_fds()with async-signal-safe implementation of GLib.SpawnChildSetupFunc to launch a child program asynchronously resetting the rlimit nofile on child setup.