No os._exit() in MacOS?
Just van Rossum
just at letterror.com
Sun Jul 1 15:59:27 EDT 2001
David Eppstein wrote:
> I am having difficulty getting a Mac W applet to exit cleanly --
> sys.exit(0) causes W.application.mainloop() to put up a traceback window
> (and not quit), W.application._quit() causes W to stop responding (but
> still not quit, unless called from a Quit event handler), and os._exit(0)
> isn't available on the Mac. Are there any other alternatives?
W.getapplication()._quit() works for me. Can you verify that that works
when you've just started the IDE? If yes, I'll need to know more details
about what you've done before.
> As a sign that this isn't only my problem, the BuildApplication applet that
> comes with the 2.1 build has similar problems -- if you let it run to
> completion, it gets into a state where you can't exit without
> Cmd-Ctrl-Option-Esc.
Sorry, no idea :-(
(I think you'd better ask these questions on the macpython list.)
Just
More information about the Python-list
mailing list