Launching a process with stdout in the terminal and captured

eryk sun eryksun at gmail.com
Sat Jun 18 04:33:49 EDT 2016


On Sat, Jun 18, 2016 at 7:09 AM, Olive
<diolu.remove_this_part at bigfoot.com> 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.

https://pypi.python.org/pypi/pexpect



More information about the Python-list mailing list