patch applied (ghc): wrap Main.main in GHC.TopHandler.runIOFastExit
Simon Marlow <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.all |
|---|---|
| Message-ID | <20070105135825.GA23201__43612.8964568072$1168005522$gmane$org@cvs.haskell.org> |
Fri Jan 5 03:46:08 PST 2007 Simon Marlow <[email protected]> * wrap Main.main in GHC.TopHandler.runIOFastExit This is so that exceptions raised by Main.main do exactly the same thing as they would in a compiled program, including writing the message to stderr and shutting down with the correct exit code. M ./utils/runghc/runghc.hs -1 +7