http://msdn.microsoft.com/en-us/library/ms682429%28VS.85%29....
pid_t fork(void); int execve(const char filename, char const argv[], char *const envp[]);
The idea is to have several simpler system calls that you can wire together to get the complex effect you need, rather than trying to build an ultimate CreateProcess function that can handle any case of infinite complexity.
http://msdn.microsoft.com/en-us/library/ms682429%28VS.85%29....