[GHC] #7229: Detecting if a process was killed by a signal is impossible
GHC
cvs-ghc at haskell.org
Tue Sep 25 15:21:40 CEST 2012
#7229: Detecting if a process was killed by a signal is impossible
----------------------------------+-----------------------------------------
Reporter: benmachine | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.6.2
Component: libraries/process | Version:
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
----------------------------------+-----------------------------------------
Comment(by andersk):
Waah… that’s going to confuse anyone who knows that the real encoding is
`(exit code << 8) + signal` (which, say, Perl forces you to learn). If
that’s what we end up with, I guess that difference ought to be noted in
the documentation.
I’m not sure I see the problem with an extra constructor that’s unused on
non-Unix, but other than that I don’t really have anything else to
propose.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7229#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list