No more then 1 Instance of Application..

Grant Edwards grante at visi.com
Mon Mar 13 13:52:16 EST 2006


On 2006-03-13, Math <mathweijzen at home.nl> wrote:

> Does anybody know what I have to do to run only 1 instance of
> my Python Application?

Yes.

http://www.google.com/search?hl=en&q=python+single+application+instance

On Unix, one creates a lock file.  Typically
/var/run/<appname>.pid if you want a single system-wide
instance.

-- 
Grant Edwards                   grante             Yow!  They
                                  at               collapsed... like nuns
                               visi.com            in the street... they had
                                                   no teenappeal!



More information about the Python-list mailing list