Create a new process with the given flags and varargs argument list.
By default, matching the spawn_async defaults, the child's stdin
will be set to the system null device, and stdout/stderr will be inherited from the parent. You can use flags
to control this
behavior.
The argument list must be terminated with null.
argv0 |
first commandline argument to pass to the subprocess |
error |
return location for an error, or null |
flags |
flags that define the behaviour of the subprocess |
... |
more commandline arguments, followed by null |
A newly created Subprocess, or null
on error (and |