[GHC] #5766: Asynchronous exception bugs in readProcess and readProcessWithExitCode
GHC
cvs-ghc at haskell.org
Mon Jan 16 15:02:47 CET 2012
#5766: Asynchronous exception bugs in readProcess and readProcessWithExitCode
----------------------------------+-----------------------------------------
Reporter: basvandijk | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 7.6.1
Component: libraries/process | Version: 7.2.2
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
----------------------------------+-----------------------------------------
Comment(by simonmar):
It's tricky to know what to do about the subprocess in the event of an
asynchronous exception. Calling `waitForProcess` in the exception handler
could be a bad choice, because the process might take a long time to
terminate. On the other hand, the context might not be expecting the
subprocess to be still running if an exception is raised. I'm not sure
what to do here.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5766#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list