#2758: runghc in stdin mode ignores Ctrl-C on Windows, cannot be killed
----------------------+-----------------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10.2
Component: Compiler | Version: 6.10.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Windows |
----------------------+-----------------------------------------------------
Changes (by NeilMitchell):
* cc: [EMAIL PROTECTED] (added)
* version: 6.8.3 => 6.10.1
Comment:
I think this is actually a more general bug with GHC, rather than just
runghc. Try for example:
{{{
main = print =<< getContents
}}}
On Windows XP this program cannot be aborted with Ctrl+C. I guess runghc
uses code similar to read in the file, which is where the problem is.
This bug has already been reported on mailing lists under a few different
guises, so is probably quite critical/
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2758#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs