Message83217
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 ? |
|
Date |
User |
Action |
Args |
2009-03-05 21:23:04 | pakal | set | recipients:
+ pakal, ocean-city |
2009-03-05 21:23:04 | pakal | set | messageid: <1236288184.48.0.698516141742.issue4192@psf.upfronthosting.co.za> |
2009-03-05 21:23:02 | pakal | link | issue4192 messages |
2009-03-05 21:23:01 | pakal | create | |
|