> Which results in it printing (i think) the last line written to the
> pipe
> file. I'm thinking there must be a simpler way to access this
> information.
> Ideally I'd like to dump the whole lot to a string at periodic
> intervals but
> am completely stumped as to how to do this as readlines() an
Hi,
I'm really struggling with how to read the stdout on a running process. All
the examples I've seen tend to rely on waiting for the process to finish.
The process I'm running takes a while and I need to get stdout [and stderr]
and be able to pipe them into a string for displaying in a web app.