Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Determine if script is already running

by Limbic~Region (Chancellor)
on Mar 03, 2003 at 00:59 UTC ( #239922=note: print w/replies, xml ) Need Help??

in reply to Determine if script is already running

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

  • Comment on Re: Determine if script is already running

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2016-10-28 11:06 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (381 votes). Check out past polls.