Message234925
Updated patch following Gregory's suggestions:
- The check_returncode parameter is now called check. The method on CompletedProcess is still check_returncode, though.
- Clarified the docs about args
- CalledProcessError and TimeoutExceeded gain a stdout property as an alias of output
Ethan: to combine stdout and stderr in check_output, you need to pass stderr=subprocess.STDOUT - it doesn't assume you want that.
I did consider having a simplified interface so you could pass e.g. capture='combine', or capture='stdout', but I don't think the brevity is worth the loss of flexibility. |
|
Date |
User |
Action |
Args |
2015-01-28 23:35:06 | takluyver | set | recipients:
+ takluyver, barry, gregory.p.smith, r.david.murray, ethan.furman |
2015-01-28 23:35:06 | takluyver | set | messageid: <1422488106.43.0.102181214509.issue23342@psf.upfronthosting.co.za> |
2015-01-28 23:35:06 | takluyver | link | issue23342 messages |
2015-01-28 23:35:06 | takluyver | create | |
|