469,330 Members | 1,219 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,330 developers. It's quick & easy.

How to find that some perl program is already running.


I have to call a perl program(if it is not running) from a perl program
How can I check if my program is already running or not.

I somehow, didn't like the idea of using some file as tag.

My platform could be a MAC OS or windows.

Please throw some light on how can I do it.

Thanks and Regards,
Nov 16 '07 #1
1 1408
4,059 Expert 2GB
Maybe you can get a list of running programs from the operating system and parse the output to see if the perl programs name is in there. I have no Mac experience but with Windows it most likely depends on which version you are using.
Nov 16 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Bill Davis | last post: by
6 posts views Thread by Pierre-Yves | last post: by
1 post views Thread by Dan Jones | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.