Re: [GHC] #3649: inconsistent exception between unix/windows for running non-existant program

#3649: inconsistent exception between unix/windows for running non-existant program --------------------------------------+------------------------------------ Reporter: duncan | Owner: Type: bug | Status: closed Priority: low | Milestone: 7.6.2 Component: libraries/process | Version: 6.10.4 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: --------------------------------------+------------------------------------ Changes (by igloo): * status: new => closed * resolution: => fixed Comment: Looks like it; this now prints `True` on Linux: {{{ import Control.Exception import System.IO.Error import System.Process main = handle (print . isDoesNotExistError) $ do (_,_,_,hnd) <- createProcess (proc "foobar" []) print =<< waitForProcess hnd }}} Thanks for pointing it out, benmachine! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/3649#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC