[Haskell-cafe] exitFailure under forkProcess
simonmar at microsoft.com
Wed Oct 27 06:53:55 EDT 2004
On 26 October 2004 22:29, John Goerzen wrote:
> I'm having a little weird situation here.
> Whenever I call exitFailure under forkProcess, I get:
> (progname): forkProcess: uncaught exception
> Test program:
> import System.Exit
> import System.Posix.Process
> main = forkProcess exitFailure
That's a bug, and I've just fixed it. The problem was that we weren't
wrapping the child process in the usual default exception handler which
catches ExitException and actually performs the exit.
More information about the Haskell-Cafe