Restart crashing modules in windows

Mike Driscoll kyosohma at gmail.com
Tue Jan 15 09:26:52 EST 2008


On Jan 14, 9:02 pm, Astan Chee <st... at al.com.au> wrote:
> Hi,
> I have a python module that keeps on crashing with various windows
> errors (not BSOD but the less lethal windows XP popup ones). Now these
> are intentional and rather sporadic so I cant really solve it by
> attempting to fix the crash; rather what Im trying to do is make another
> module outside it that restarts this module every time it crashes. Is
> this possible? How do I do this? Or does one windows crash in one python
> module crash python entirely and I have to resort in an external program
> to restart python everytime it crashes?
> Thanks again for all the help.
> Astan

If you're not going to catch the error that is causing the crash, then
I think your only option is to restart your application with an
external program. However, maybe someone else will have a better idea.

Mike



More information about the Python-list mailing list