[Haskell-cafe] Can't establish subprocess communication
Poprádi Árpád
popradi_arpad at freemail.hu
Mon Nov 14 19:06:53 CET 2011
Hi mgampkay!
Thank You, these were the problems with my programs.
Greetings,
Árpád
On Sun, 2011-11-13 at 22:57 +0800, mgampkay wrote:
>
> > (hin, hout, _, p) <- runInteractiveProcess "copierer" [] Nothing
>
> >./twowaysubprocesscomm
> >twowaysubprocesscomm: fd:7: hGetLine: end of file
> >twowaysubprocesscomm: fd:6: hPutChar: resource vanished (Broken pipe)
>
> Because you didn't give the right path to copierer.
> And you should hSetBuffering in copierer.hs.
> Because the handles returned by runInteractiveProcess are actually pipes that connect to copierer's stdin and stdout.
>
>
More information about the Haskell-Cafe
mailing list