3 ms·
While there are several ways to skin that cat, the suggested way is to use subprocess.Popen . Also, when using Popen, calling .wait() can cause problems if you
by tomsthumb 13y ago
While there are several ways to skin that cat, the suggested way is to use subprocess.Popen .
Also, when using Popen, calling .wait() can cause problems if you are expecting large amounts of info back from stdin or stderr. Using .communicate() is generally better.