#2777: process created by system "yes" exits with error code 1
------------------------+---------------------------------------------------
Reporter: greenrd | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/process
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: Linux
------------------------+---------------------------------------------------
{{{
GHCi, version 6.10.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude> :m +System.Process
Prelude System.Process> system "yes"
}}}
results in a long stream of "y"s and then, almost instantly:
{{{
ExitFailure 1
}}}
This should not happen. The Linux command "yes" is supposed to run
forever, and exit code 1 indicates a write error.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2777>
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