[Tutor] how to know if process is running?
shawn at skrite.net
Tue Jul 28 17:45:46 CEST 2009
I have an app that runs in a GUI written in pygtk. It spawns several
threads, and runs all the time.
It is mission critical that we can never have two instances of this
running at once.
So, my question is, how can i write something that will know if there
is an instance of that something already running?
I am doing this in python 2.5 on Ubuntu, if that matters ( which i
suspect it does ).
More information about the Tutor