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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#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
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

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

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2454: Closing handle from runInteractiveProcess causes myserious, uncatchable
death.
----------------------------+-----------------------------------------------
 Reporter:  cjs             |          Owner:          
     Type:  bug             |         Status:  closed  
 Priority:  normal          |      Milestone:          
Component:  libraries/base  |        Version:  6.8.3    
 Severity:  normal          |     Resolution:  duplicate
 Keywords:                  |     Difficulty:  Unknown  
 Testcase:                  |   Architecture:  x86      
       Os:  Multiple        |  
----------------------------+-----------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => duplicate

Comment:

 duplicate of #1619, now fixed.  Thanks anyway for a nice report!

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2454#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
LightInTheBox - Buy quality products at wholesale price