From: Greg C. <chi...@mi...> - 2003-05-26 01:43:17
|
Peter Mcleod wrote: > > I've recently learned that we cannot use fork() on MinGW? The operating system doesn't provide it. > Seeing as system() is actually built from exec & fork - > how do we go about making cross-platform compatible system > calls to the OS? Also, how do we fork() a process? (do we > have to use multi-threading?) system() is available--it's required by the C and C++ standards. If you need something better on ms windows, look at CreateProcess(). This may help: http://www.byte.com/art/9410/sec14/art3.htm |