For the capture and forward of output you probably want to base a solution on these days rather than rolling your own poll + read + echo loop.

On Mon, Feb 2, 2015, 12:08 AM Paul Moore <> wrote:
On 2 February 2015 at 01:50, Wes Turner <> wrote:
>> I'm not sure how that's relevant. Sure, if the child buffers output
>> there's a delay in seeing it, but that's no more an issue than it
>> would be for display on the console.
> Ah. The link on that page that I was looking for was probably "Using
> Redirection" #using-redirection and/or " Capturing stdout and stderr from
> commands" #capturing-stdout-and-stderr-from-commands

Yes, but again the issue here isn't capturing stdout/stderr, but
capturing them *while having them still displayed on the terminal*.
Anyway, this is starting to hijack the thread, so I'll go and have a
more detailed look at sarge to see if it does provide what I need

Python-ideas mailing list
Code of Conduct: