Ticket #2777 (closed bug: duplicate)
process created by system "yes" exits with error code 1
|Reported by:||greenrd||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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:
This should not happen. The Linux command "yes" is supposed to run forever, and exit code 1 indicates a write error.