in reply to Determine if script is already running
This is more a question than an answer.
A few years ago I was developing a system some parts of which ran on HPUX 10.20 servers, and we needed to have (single copy of) a small deamon process that monitored other processes in the system and re-started them if they hung or died. Some of the guys were playing around with flag files (actually, they were using directories) when one of the local hpux experts wandered by for another reason and suggested Sys V semaphores.
This question triggered the memory and I did a scan of CPAN and found IPC::Semaphore.
Is there some reason why you couldn't combine that with Win32::Semaphore or Win32::Mutex to acheive this?
|
|---|