P
Pierre-Yves
Hello,
I would like to prevent my perl program to be executed several times
simultaneously (if the program is already running, I would like to display a
message like "another instance of this program is already running, please
try again in a couple of minutes).
For doing this, I guess I have to check the running processes... but I don't
know how to do that and how I can identify my program in the running
processes.
If someone can help, i would be nice !
Thanks,
P-Y.
I would like to prevent my perl program to be executed several times
simultaneously (if the program is already running, I would like to display a
message like "another instance of this program is already running, please
try again in a couple of minutes).
For doing this, I guess I have to check the running processes... but I don't
know how to do that and how I can identify my program in the running
processes.
If someone can help, i would be nice !
Thanks,
P-Y.