Message85256
I was looking for a way to run a subprocess with a timeout. While there
are a variety of solutions on Google, I feel like this functionality
should live in the standard library module. Apparently Guido thought
this would be good in 2005 but no one did it:
http://mail.python.org/pipermail/python-dev/2005-December/058784.html
I'd be willing to implement it, but I'm not a core dev and I'd need
someone to review it. I'll start working on a patch now, and if people
think this is a good idea I'll submit it for review.
My plan was to add a 'timeout' optional keyword argument to wait() and
propagate that backwards through communicate(), call(), and
check_call(). Does anyone object to this approach? |
|
Date |
User |
Action |
Args |
2009-04-02 19:41:16 | rnk | set | recipients:
+ rnk |
2009-04-02 19:41:16 | rnk | set | messageid: <1238701276.41.0.515283298202.issue5673@psf.upfronthosting.co.za> |
2009-04-02 19:41:15 | rnk | link | issue5673 messages |
2009-04-02 19:41:14 | rnk | create | |
|