I encountered the same issue with Python 3.4 on CentOS 7 when using only the 
close_fds argument. Since I am passing a lot of dynamically obtained file 
descriptors, using the pass_fds argument is impossible for my case. Setting 
close_fds to False *but* also explicitly making the fds inheritable upon 
generation solved the issue. I would be really grateful if there was at least a 
note in the subprocess module explaining that one might need to explicitly make 
file descriptors inheritable since if it wasn't this post I would have lost 
even more time than I already did.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to