No more then 1 Instance of Application..

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Math

    #1

    No more then 1 Instance of Application..

    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

  • Grant Edwards

    #2
    Re: No more then 1 Instance of Application..

    On 2006-03-13, Math <mathweijzen@ho me.nl> wrote:
    [color=blue]
    > Does anybody know what I have to do to run only 1 instance of
    > my Python Application?[/color]

    Yes.



    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!

    Comment

    Working...