Message 141420 - Python tracker
Attaching an initial patch for Lib/idlelib/PyShell.py It uses subprocess.Popen instead of spawn&kill, in the way discussed in earlier messages. As far as I can tell, IDLE opens and restarts shells successfully, without leaving zombies behind. I only tested it on Windows, however, and due to the lack of unit tests for idlelib there wasn't much verification done.