http://okmij.org/ftp/Haskell/MySysOpen.hs
when I run the test case in the file, the first read_back gets until
count=9890,
then hangs (I don't see Doing it again) (CPU is idle) (with ghc-6.10.1)
___
Haskell-Cafe mailing list
[EMAIL PROTECTED] wrote:
I'd like to point out a reliable, proven and simple way of interacting
with another process, via unidirectional or bidirectional pipes. The
method supports Unix sockets, pipes, and TCP sockets.
I too have noticed insidious bugs in GHC run-time when communicating
with
There is actually a real wealth of material on generalizing
I/O on your site -- it's definitely something I will be ever
more interested in.
Now that I think about it, I can remember a time where a
program that did a lot of stuff with Amazon would mysteriously
run out of file
I too have noticed insidious bugs in GHC run-time when communicating
with another process via a pipe. I tried to use runInteractiveProcess;
it worked -- up to file sizes of about 300Kb.
Yeah, I seem to be running into similar strange problems,
so I'll be definitely checking out your code.
As an aside, my present problem really seems to be fixed -- I
am able to move files of more than 2MB from one process to
another within my Haskell program. In my program, I take the
input file, turn it into a ByteString, pass it to process one,
capture the result as a ByteString, pass it