Bug in IO libraries when sending data through a pipe?
Volker Stolz
vs at foldr.org
Mon Mar 18 07:59:44 EST 2002
Am 18. Mar 2002 um 13:51 MET schrieb Simon Marlow:
> unevaluated until the child process needs to construct its argument list
> to pass to executeFile. Hence the child process pokes on the lazy
> stream, and when the parent process subsequently demands data from the
> lazy stream, there is a buffer's worth missing.
>
> Moral of this story: don't use lazy I/O.
There's a warning in the documentation of executeFile to exactly the
same end after all...
--
Volker Stolz * vs at foldr.org * PGP + S/MIME
More information about the Glasgow-haskell-bugs
mailing list