Launch my application if its not running

Chris Rebert clp2 at rebertia.com
Wed Aug 5 05:07:14 EDT 2009


On Wed, Aug 5, 2009 at 2:03 AM, sanju ps<sanu1267 at gmail.com> wrote:
> How to check whether my gui application is running or not.If its already
> running i have to quit my program other wise i need to launch my program.
> Can anybody suggest a solution to this

Use a lock file? http://en.wikipedia.org/wiki/Lock_file#Lock_files

Cheers,
Chris
-- 
http://blog.rebertia.com



More information about the Python-list mailing list