Pascal Chambon <chambon.pas...@gmail.com> added the comment: Thansk a lot for reviewing the problem
Indeed, "p.wait()" seems to do the trick in this case. Is there any global way to avoid such pipe problems ? I mean, in any case, one end of each pipe has to be closed before the other end, so such errors might occur with the child process' stdin (in case the child dies first and the parent flushes then its pipe toward the child's stdin) or with its stdout (if the parent dies first and the child flushes then its stdout). Or are we sure that there won't be errors as long as children die before the parent process ? _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4192> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com