Re: [GHC] #7229: Detecting if a process was killed by a signal is impossible

#7229: Detecting if a process was killed by a signal is impossible --------------------------------------+------------------------------------ Reporter: benmachine | Owner: Type: bug | Status: new Priority: high | Milestone: 7.8.1 Component: libraries/process | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: --------------------------------------+------------------------------------ Comment (by andersk): I guess you could replace `ExitTerminated CInt Bool` with `ExitTerminated Signal Bool`, where `Signal` is `CInt` on POSIX and `Void` on Windows? (And/or there’s a platform-independent `Signal -> CInt` and a POSIX- dependent `CInt -> Signal`?) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/7229#comment:23 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC