Keep It Simple, Stupid | |
PerlMonks |
Re: Determine if script is already runningby Limbic~Region (Chancellor) |
on Mar 03, 2003 at 00:59 UTC ( [id://239922]=note: print w/replies, xml ) | Need Help?? |
Nitrox,
You mentioned that you are trying to make this work cross platform, this creates a problem. In Unix, it is possible to delete a file that is locked. I would suggest you use $$ and Proc::ProcessTable. It says Unix, but it does have a port to Cygwin. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|