#3890: runghc sometimes won't allow redirecting of stdout/stderr
---------------------------------+------------------------------------------
Reporter: simonmic | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.12.3
Component: Runtime System | Version: 6.10.4
Keywords: | Difficulty:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Changes (by igloo):
* priority: normal => high
* milestone: => 6.12.3
Comment:
With 6.13.20100428:
`q.hs`:
{{{
module Main (main) where
import System.Exit
main :: IO ()
main = do putStrLn "Q1"
exitFailure
putStrLn "Q2"
}}}
{{{
$ /home/ian/ghc/darcs/ghc/inplace/lib/runghc -f
/home/ian/ghc/darcs/ghc/inplace/bin/ghc-stage2 q.hs
Q1
$ /home/ian/ghc/darcs/ghc/inplace/lib/runghc -f
/home/ian/ghc/darcs/ghc/inplace/bin/ghc-stage2 q.hs | cat
$
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3890#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