Skip to content

Ctrl-break hangs with "ghc -e"

On Windows XP, if I run this program:

main = do   putStrLn "Hi!"
            main

with "ghc -e Main.main Test.hs", and then press Ctrl-C or Ctrl-Break, it will hang instead of terminating. The only recourse at that point is to explicitly kill "ghc" from the Task Manager.

This doesn't happen if I compile the program "ghc --make Test.hs".

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information