Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: getting a child's process ID

by blackmateria (Chaplain)
on Oct 19, 2001 at 19:16 UTC ( [id://120022]=note: print w/replies, xml ) Need Help??


in reply to getting a child's process ID

If you're on *nix, fork() returns the child's pid to the parent, and 0 to the child. This works on Cygwin's Win32 port as well (not sure about ActivePerl).

Update: Looks like it works on ActivePerl, too (at least build 613+).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (1)
As of 2024-04-19 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found