I'm trying to write a bunch of data to a process, then read out the result.
Replaced the process here with `cat -` because that's close enough.
function bloop(size)
data = "f" ^ size
print("start")
(pout, pin, p) = readandwrite(`cat -`)
print("write")
write(pin, dat
Hi Eric,
the problem here is that the kernel is blocking the process because there's
nobody reading on the
other side (since the writing process is blocked so it can't do any
reading). We can probably do some
things to improve the situation, but for now I'd recommend the following:
- Start reading
Thanks, I will try both of those. I had tried making smaller pieces before
but I'll try with `Base.process_events(false)`.
https://github.com/JuliaLang/julia/issues/18840
On Fri, Oct 7, 2016 at 6:26 PM, Eric Davies wrote:
> Thanks, I will try both of those. I had tried making smaller pieces before
> but I'll try with `Base.process_events(false)`.
>