[Haskell-cafe] control-c only caught once -- bug?

Giovanni Tirloni gtirloni at sysdroid.com
Fri Oct 28 22:17:30 CEST 2011


On Fri, Oct 28, 2011 at 6:07 PM, Rogan Creswick <creswick at gmail.com> wrote:

> On Fri, Oct 28, 2011 at 12:47 PM, Brian Johnson
> <brianjohnsonhaskellcafe at gmail.com> wrote:
> > Hi,
> > The second time I press control-c, it isn't caught -- the program exits
> > instead.  Why?
>
> Interesting -- this works as you want with runghc, but it works as you
> describe when compiled with ghc --make. (under ghc 7.0.3 here as
> well.)
>
>
It works fine with runghc / ghc (7.0.3) on WinXP 32-bit.

Perhaps it's related to this:
http://blogs.embarcadero.com/eboling/2009/11/10/5628
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111028/4bf732b9/attachment.htm>


More information about the Haskell-Cafe mailing list