Message110573
I don't imagine this is going into 2.7.>0 at this point, so I ported the patch to py3k. I also added support to check_output for the timeout parameter and added docs for all of the methods/functions that now take a timeout in the module.
The communicate docs include the pattern of:
try:
outs, errs = p.communicate(timeout=15)
except subprocess.TimeoutExpired:
p.kill()
outs, errs = p.communicate()
And check_output uses it. |
|
Date |
User |
Action |
Args |
2010-07-17 16:13:30 | rnk | set | recipients:
+ rnk, guettli, astrand, orsenthil, pitrou, giampaolo.rodola, abbot, r.david.murray, brian.curtin, srid, dmalcolm, filippo |
2010-07-17 16:13:30 | rnk | set | messageid: <1279383210.17.0.759249131216.issue5673@psf.upfronthosting.co.za> |
2010-07-17 16:13:28 | rnk | link | issue5673 messages |
2010-07-17 16:13:28 | rnk | create | |
|