#1842: runInteractiveCommand should install SIGCHLD handler
-------------------------------------+--------------------------------------
Reporter: firefly | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10 branch
Component: libraries/process | Version: 6.8.1
Severity: normal | Resolution:
Keywords: fork(), wait(), SIGCHLD | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Multiple |
-------------------------------------+--------------------------------------
Comment (by simonmar):
This is in fact a duplicate of #1619 (programs exiting silently due to
SIGPIPE). The 141 exit code is SIGPIPE, not SIGCHLD. SIGCHLD is ignored
by default and won't cause a problem.
We do intend to make System.Process install a SIGCHLD handler, but for
different reasons: it's more efficient than having one OS thread per
waiting process, it allows `waitForProcess` to be interruptible, and it
will avoid the need for `-threaded`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1842#comment:4>
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