This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Thekent
Recipients Thekent, ned.deily, terry.reedy
Date 2011-04-16.07:50:46
SpamBayes Score 7.4575146e-06
Marked as misclassified No
Message-id <1302940247.5.0.171593008291.issue11820@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2011-04-16 07:50:47Thekentsetrecipients: + Thekent, terry.reedy, ned.deily
2011-04-16 07:50:47Thekentsetmessageid: <1302940247.5.0.171593008291.issue11820@psf.upfronthosting.co.za>
2011-04-16 07:50:46Thekentlinkissue11820 messages
2011-04-16 07:50:46Thekentcreate