There is a warning in the documentation on subprocess that might be
relevant to your situation:

    Warning:
    Use communicate() rather than .stdin.write, .stdout.read or
.stderr.read to avoid deadlocks due to any of the other OS pipe
buffers filling up and blocking the child process.

Reference: http://docs.python.org/2/library/subprocess.html


It's possible that the process is deadlocking due to this situation.
Do you run into this issue if you use communicate()?



Good luck!
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to