Hi, I have a Cython object that creates remote processes. When this object is deallocated, it shuts down those remote processes. This works in the IPython QTConsole when I restart the kernel using Ctrl-., but when I do the same in the Spyder IPython console, this does not work. Through running Spyder through the debugger, I see that PyQt4.QtCore.QProcess.kill() is called, which according to the Qt docs, uses TerminateProcess on Windows, which cannot be trapped.
Is there any way to register with a Spyder console, a handler that will be run before exit? Or to use some other widget set that does not do a hard kill? Many thanks! -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
