[Haskell-cafe] runProcess does not care about hSetBuffering?

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Tue Jul 28 21:14:24 EDT 2009

  Code like:
(or_, ow_) <- createPipe
or <- fdToHandle or_
ow <- fdToHandle ow_
hSetBuffering ow LineBuffering
hSetBuffering or LineBuffering
h <- runProcess cmd [] Nothing Nothing Nothing (Just ow) Nothing
  In the cmd process, the ow is not LineBuffering....

More information about the Haskell-Cafe mailing list