spawnAsyncWithPipes
fn
bool spawnAsyncWithPipes(string workingDirectory, string[] argv, string[] envp, glib.types.SpawnFlags flags, glib.types.SpawnChildSetupFunc childSetup, out glib.types.Pid childPid, out int standardInput, out int standardOutput, out int standardError)Identical to [glib.global.spawnAsyncWithPipesAndFds] but with n_fds set to zero, so no FD assignments are used.
Parameters
workingDirectory | child's current working directory, or null to inherit parent's, in the GLib file name encoding |
argv | child's argument vector, in the GLib file name encoding; it must be non-empty and null-terminated |
envp | child's environment, or null to inherit parent's, in the GLib file name encoding |
flags | flags from #GSpawnFlags |
childSetup | function to run in the child just before exec() |
childPid | return location for child process ID, or null |
standardInput | return location for file descriptor to write to child's stdin, or null |
standardOutput | return location for file descriptor to read child's stdout, or null |
standardError | return location for file descriptor to read child's stderr, or null |
Returns
true on success, false if an error was set
Throws
[ErrorWrap]