On 9/19/2013 7:42 AM, harish.barve...@gmail.com wrote:
subprocess.call(tempFileName, shell=True).communicate()

should raise an AttributeError as the int returned by subprocess.call does not have a .communicate method.

this process is not blocking.

Why do you think that? All function calls block until the function returns, at which point blocking ceases. If you call Popen(someprog).communicate() and someprog runs quickly, you will hardly notice the blocking time.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to