Re:Why Awk for AI? (1997)
by tomsthumb on Friday May 17, 2013 @03:23PM
(#5726253)
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.
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.