How to pass file descriptors from parent to child in python?

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2010-06-07T13:17:19Z Indexed on 2010/06/07 13:22 UTC
Read the original article Hit count: 249

Hi,

I am using multiprocessing module, and using pools to start multiple workers. But the file descriptors which are opened at the parent process are closed in the worker processes. I want them to be open..! Is there any way to pass file descriptors to be shared across parent and children?

© Stack Overflow or respective owner

Related posts about python

Related posts about multiprocessing