Create a new process with the given flags and argument list.
The argument list is expected to be null-terminated.
argv |
commandline arguments for the subprocess |
flags |
flags that define the behaviour of the subprocess |
A newly created Subprocess, or null on error (and throws will be set) |