Don't ask to ask, just ask | |
PerlMonks |
Re^2: Keeping track of children from previous runs of a scriptby Illuminatus (Curate) |
on Mar 10, 2011 at 17:40 UTC ( [id://892461]=note: print w/replies, xml ) | Need Help?? |
I think salva's first option is the best way to go. If you are really paranoid about PID-wrap, you could put the executable name in the file along with the PID. Then, if you determine that the PID is active, you can use a variety of methods to determine the executable name and match that as well. fnord
In Section
Seekers of Perl Wisdom
|
|