Message341169
Python 3.7 added the "capture_output" parameter, for Issue 32102. Before that change, you could use "subprocess.PIPE":
https://docs.python.org/3.6/library/subprocess.html#subprocess.run
“To [capture output], pass PIPE for the ‘stdout’ and/or ‘stderr’ arguments”
Since "capture_output" was added, it looks like you can still pass "subprocess.PIPE" on your own, but the documentation now only gives subtle hints that this might be supported. This was also brought up in Issue 33319. |
|
Date |
User |
Action |
Args |
2019-05-01 00:01:41 | martin.panter | set | recipients:
+ martin.panter, gregory.p.smith, Joe.Borg, bbayles, xtreak |
2019-05-01 00:01:41 | martin.panter | set | messageid: <1556668901.09.0.986723410403.issue36760@roundup.psfhosted.org> |
2019-05-01 00:01:41 | martin.panter | link | issue36760 messages |
2019-05-01 00:01:40 | martin.panter | create | |
|