JuliaLang/julia — pull request #6754 by amitmurthy (2014-05-05 11:33:11+00:00)
Title: Install sigint handler for program mode too

In a non-REPL case, the program currently terminates upon a Ctrl-C without calling the `atexit` functions.

This patch:
- installs the sigint handler for both the REPL and Program modes
- In program mode, the master process exits after calling the `atexit` functions.