Why my process cannot terminate when Pipe Connection is closed

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Wed Jun 22 20:55:06 EDT 2016


On Thursday, June 23, 2016 at 10:50:10 AM UTC+12, Ke Wang wrote:
> Raises EOFError if there is nothing left to receive and the other end was
> closed.

Does the parent process have to close the sending end of the pipe as well? Otherwise the receiver never gets EOF as long as one process still has it open.


More information about the Python-list mailing list