Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: How does system(1,"foo") work on Windows?

by BrowserUk (Pope)
on May 03, 2006 at 17:26 UTC ( #547218=note: print w/replies, xml ) Need Help??

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.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: How does system(1,"foo") work on Windows?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://547218]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-10-24 01:02 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.