This is useful only with gevent <1.0 gevent >= 1.0 ships with its own suprocess implementation.
import gevent_subprocess as subprocess
Now you can use the same python subprocess API that you are accustomed with, with the joy of transparently non-blocking I/O.