Python subprocess timeout?

Viewed 37829

Is there any argument or options to setup a timeout for Python's subprocess.Popen method?

Something like this:

subprocess.Popen(['..'], ..., timeout=20) ?

10 Answers
Related