Checking for duplicate instances of a script...

Guillaume Dargaud NOusenetSPAM at gdargaud.net
Wed Jan 21 04:28:20 EST 2004


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
-- 
Guillaume Dargaud
http://www.gdargaud.net/
  "Here is your parachute and here is the manual.
  Welcome to Linux."





More information about the Python-list mailing list