Message258324
Right now when you want to use `subprocess.STARTUPINFO`, you need to do something like this:
si = subprocess.STARTUPINFO()
si.dwFlags = subprocess.STARTF_USESTDHANDLES
subprocess.Popen(['whatever'], startupinfo=si)
It would be much nicer to do this:
subprocess.Popen(
['whatever'],
startupinfo=subprocess.STARTUPINFO(
subprocess.STARTF_USESTDHANDLES
)
)
So I suggest that the `STARTUPINFO` constructor take an optional argument that sets the flags on it. |
|
Date |
User |
Action |
Args |
2016-01-15 19:45:19 | cool-RR | set | recipients:
+ cool-RR, paul.moore, tim.golden, zach.ware, steve.dower |
2016-01-15 19:45:19 | cool-RR | set | messageid: <1452887119.07.0.716350004713.issue26128@psf.upfronthosting.co.za> |
2016-01-15 19:45:18 | cool-RR | link | issue26128 messages |
2016-01-15 19:45:18 | cool-RR | create | |
|