in reply to
Re: how can a perl script determine it's own PID while running
in thread how can a perl script determine it's own PID while running
OK - this is perfect (exactly what I was looking for)
Now.... I would like to take this a step further:
I would like to take the newly found value from $$ and send it to another script, (the sending part is not a problem), and have that new program check on a regular basis (still linux OS) and see if the PID still exists... once the PID that the new program is monitoring finishes the new program will do something.
The question is: How do I monitor said PID from the current script??
Thanks Again for Your Great Wisdom!