No more then 1 Instance of Application..

2006-03-13 Thread Math
Hello, Pardon my English... Does anybody know what I have to do to run only 1 instance of my Python Application? How do I check if I'm running more instances of a Application? Thank you all -- http://mail.python.org/mailman/listinfo/python-list

Re: No more then 1 Instance of Application..

2006-03-13 Thread Christoph Haas
On Monday 13 March 2006 18:31, Math wrote: Does anybody know what I have to do to run only 1 instance of my Python Application? How do I check if I'm running more instances of a Application? I would use lockfiles for that purpose. Like this:

Re: No more then 1 Instance of Application..

2006-03-13 Thread Grant Edwards
On 2006-03-13, Math [EMAIL PROTECTED] 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=enq=python+single+application+instance On Unix, one creates a lock file. Typically /var/run/appname.pid if you want a single