Index: Lib/idlelib/rpc.py =================================================================== --- Lib/idlelib/rpc.py (revision 74316) +++ Lib/idlelib/rpc.py (working copy) @@ -144,7 +144,7 @@ def exithook(self): "override for specific exit action" - os._exit() + os._exit(0) def debug(self, *args): if not self.debugging: