kent <[email protected]> added the comment:
The getoutput and getstatusoutput provide the expect output which can be
captured
>>> x=subprocess.getoutput('ls')
>>> print(x)
hs_err_pid28274.log
LP4E-examples
mydir.pth
mydir.pth~
PP4E-Examples-1.2
ProgMan
Python_dir
Would it be a good thing to have the interpreter capture the sysout of all
child processes automatically?
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11820>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com