
report at bugs
Aug 11, 2013, 6:19 PM
Post #6 of 6
(15 views)
Permalink
|
|
[issue18571] Implementation of the PEP 446: non-inheritable file descriptors
[In reply to]
|
|
STINNER Victor added the comment: + if (make_inheritable(py_fds_to_keep) < 0) + goto error; + /* errpipe_write is part of py_fds_to_keep. It must be closed at + exec(), but kept open in the child process until exec() is called. */ + if (_Py_set_inheritable((int)errpipe_write, 0, NULL) < 0) + goto error; make_inheritable() should ignore errpipe_write, instead of changing twice the inheritable flag of errpipe_write. ---------- _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue18571> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|