3 ms·
> Show me an API that can do that without fork. http://msdn.microsoft.com/en-us/library/ms682429%28VS.85%29.aspx http://msdn.microsoft.com/en-us/library/ms6824
by billpg 17y ago
> Show me an API that can do that without fork.
http://msdn.microsoft.com/en-us/library/ms682429%28VS.85%29.aspx http://msdn.microsoft.com/en-us/library/ms682429%28VS.85%29....
- caf 17y agoExactly the point - that call takes 11 parameters, many of which are complex structures themselves. Compare that to: 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.