Message133886
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? |
|
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 | |
|