child's current working directory, or null to inherit parent's, in the GLib file name encoding
child's argument vector, in the GLib file name encoding; it must be non-empty and null-terminated
child's environment, or null to inherit parent's, in the GLib file name encoding
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
array of FDs from the parent process to make available in the child process
array of FDs to remap source_fds to in the child process
the PID of the child on success, 0 if error is set
A wrapper around
g_spawn_async_with_pipes_and_fds()with async-signal-safe implementation of GLib.SpawnChildSetupFunc to launch a child program asynchronously resetting the rlimit nofile on child setup.