471,854 Members | 1,638 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,854 software developers and data experts.

How to find that some perl program is already running.

shrek123
Hi,

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,
Shrek
Nov 16 '07 #1
1 1470
KevinADC
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
reply views Thread by YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.