ipython/ipython — pull request #1609 by minrk (2012-04-15 19:11:12+00:00)
Title: exit notebook cleanly on SIGINT, SIGTERM

makes it a bit more likely security files, etc. will be cleaned up.

We already handled SIGINT, but now SIGTERM results in clean exit as well.

Closes #1601