[GHC] #2454: Closing handle from runInteractiveProcess causes myserious, uncatchable death.

GHC trac at galois.com
Sun Jul 20 04:18:07 EDT 2008


#2454: Closing handle from runInteractiveProcess causes myserious, uncatchable
death.
-----------------------+----------------------------------------------------
    Reporter:  cjs     |       Owner:                
        Type:  bug     |      Status:  new           
    Priority:  normal  |   Component:  libraries/base
     Version:  6.8.3   |    Severity:  normal        
    Keywords:          |    Testcase:                
Architecture:  x86     |          Os:  Multiple      
-----------------------+----------------------------------------------------
 Running the attached program on Windows works, because
 runInteractiveProcess fails. Under Linux and NetBSD, runIntractiveProcess
 returns (which it probably shouldn't--wouldn't it be nicer if it checked
 that it had execute access on what it wanted to exec before it forked?)
 and then at some point in hClose the program silently dies, though
 returning an error code to the process that spawned it.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2454>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list