os.pipe() + os.fork()
Sebastian Noack
sebastian.noack at googlemail.com
Sat Feb 20 06:52:50 EST 2010
I have figured out that, you have to close the writing end in the child
process, which is reading from the pipe. Otherwise the underlying pipe
is not going to be closed when the parent process is closing its
writing end. This has nothing to do with Python itself. I have tried
plain C and there it is the same behaviour.
Regards
Sebastian Noack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20100220/8324263b/attachment-0001.sig>
More information about the Python-list
mailing list