[GHC] #2233: Overhaul System.Process

GHC ghc-devs at haskell.org
Tue Dec 3 10:26:40 UTC 2013


#2233: Overhaul System.Process
--------------------------------------+------------------------------------
        Reporter:  simonmar           |            Owner:  simonmar
            Type:  task               |           Status:  closed
        Priority:  normal             |        Milestone:  _|_
       Component:  libraries/process  |          Version:  6.8.2
      Resolution:  fixed              |         Keywords:
Operating System:  Unknown/Multiple   |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown       |       Difficulty:  Unknown
       Test Case:                     |       Blocked By:
        Blocking:                     |  Related Tickets:
--------------------------------------+------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"776a260be009cc27cfeacf298934d544c4e87408/process"]:
 {{{
 #!CommitTicketReference repository="process"
 revision="776a260be009cc27cfeacf298934d544c4e87408"
 Make `cleanupProcess` resistant to SIGPIPE

 Otherwise, `cleanupProcess` may exit prematurely if trying to flush out
 data to the process' stdin handle even though the endpoint has already
 vanished, and fail to complete the cleanup process.

 See also 228297ec53e9ee7a1a6a3c5964ca7e89a6474c9b and #2233.

 Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/2233#comment:29>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list