Message133886
| 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:47 | Thekent | set | recipients:
+ Thekent, terry.reedy, ned.deily |
| 2011年04月16日 07:50:47 | Thekent | set | messageid: <1302940247.5.0.171593008291.issue11820@psf.upfronthosting.co.za> |
| 2011年04月16日 07:50:46 | Thekent | link | issue11820 messages |
| 2011年04月16日 07:50:46 | Thekent | create |
|