Launching a process with stdout in the terminal and captured

Olive diolu.remove_this_part at
Sun Jun 19 04:29:39 EDT 2016

eryk sun <eryksun at> wrote:
> On Sat, Jun 18, 2016 at 7:09 AM, Olive
> <diolu.remove_this_part at> wrote:
> > I am here on Linux.
> > ...
> > Note that if it is possible I would prefer that the launched command see its standard
> > output connected to a terminal  
> Try pexpect.

That's not what I am looking for. I want to let the end user intercat with the process, not my script. What I want is the content (after the process has exited) of all what it has written on standard output.


More information about the Python-list mailing list