Allowing only one instance of a script?
Tim Golden
tim.golden at viacom-outdoor.co.uk
Thu Jun 23 02:58:21 EDT 2005
[Ali]
|
| I have a script which I double-click to run. If i double-click it
| again, it will launch another instance of the script.
|
| Is there a way to allow only one instance of a script, so that if
| another instance of the script is launched, it will just
| return with an
| error.
If you're on Windows, have a look at this recent thread:
http://groups-beta.google.com/group/comp.lang.python/msg/2a4fadfd3d6e3d4b?hl=en
TJG
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
More information about the Python-list
mailing list