Hacker News new | ask | show | jobs
by tomsthumb 4783 days 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.

1 comments

this. python has too many ways to skin the cat.
hehe, while I do agree in this particular situation, it's rather funny to see that in writing.