On 18 May 2005 14:47, Frederik Eaton wrote:
> When I run the following line in ghci:
>
> Prelude System.Process Control.Concurrent System.IO> do { (inp, out,
> err, ph) <- runInteractiveProcess "cat" [] Nothing Nothing; forkIO
> (do hPutStr inp "this\nis\na\ntest\n"; hClose inp); waitForProcess p
Hi,
When I run the following line in ghci:
Prelude System.Process Control.Concurrent System.IO> do { (inp, out, err, ph)
<- runInteractiveProcess "cat" [] Nothing Nothing; forkIO (do hPutStr inp
"this\nis\na\ntest\n"; hClose inp); waitForProcess ph }
... it doesn't terminate. I'm following the