more useful options | |
PerlMonks |
Re: getting a child's process IDby blackmateria (Chaplain) |
on Oct 19, 2001 at 19:16 UTC ( [id://120022]=note: print w/replies, xml ) | Need Help?? |
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+).
In Section
Seekers of Perl Wisdom
|
|