Application monitor

dcrespo dcrespo at gmail.com
Mon Nov 7 16:42:41 EST 2005


Hi to all,

I'd like to have an app monitor that gets rid of another app, in the
way that if it closes unspectedly, the app monitor just wake it up one
more time, and viceversa.

I mean:

Main application starts
This one starts the App Monitor of itself. (This means that if Main
Application closes, the App Monitor restart it)

And viceversa means that if App Monitor closes, the Main application
restart it.

How can I accomplish this?

I've been thinking in wx.SingleInstanceChecker (from wxPython GUI
library). If it doesn't exist, then call os.system(<program_name>). But
I don't know if there's a better way.

Thanks

Daniel




More information about the Python-list mailing list