in reply to How does system(1,"foo") work on Windows?
So -- how does system(1,"foo") work on Windows?
It just calls CreateProcess with the CREATE_NEW_PROCESS_GROUP flag bit set. See Win32::Process for the details.
It's a bit more complicated as it has to arrange for wait and waitpid to work.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How does system(1,"foo") work on Windows?
by toughy (Acolyte) on Nov 02, 2018 at 19:24 UTC |