Checking for duplicate instances of a script...

Dang Griffith noemail at noemail4u.com
Thu Jan 22 07:46:44 EST 2004


On Wed, 21 Jan 2004 10:28:20 +0100, "Guillaume Dargaud"
<NOusenetSPAM at gdargaud.net> wrote:

>Hello, python beginner here,
>How can I make sure that a given script is never run more than once at the
>same time in a system ?
>Besides checking 'ps' for its own name. Most modern langages have a direct
>way to do that.
>Thanks
What modern language has a direct way to do that?
    --dang



More information about the Python-list mailing list