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

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


Hi,
  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