This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sloonz
Recipients docs@python, sloonz
Date 2018-03-15.10:20:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521109238.05.0.467229070634.issue33079@psf.upfronthosting.co.za>
In-reply-to
Content
From current `os` documentation:

> A file descriptor has an “inheritable” flag which indicates if the file descriptor can be inherited by child processes

from current `subprocess` documentation:

> If close_fds is true, all file descriptors except 0, 1 and 2 will be closed before the child process is executed

It would be helpful to explicitly specify that subprocess.Popen does not takes into account the inheritable flag ; thas is, that inheritable fds will still be closed with open_fds = False, and that non-inheritable fds will still be kept with open_fds = True.
History
Date User Action Args
2018-03-15 10:20:38sloonzsetrecipients: + sloonz, docs@python
2018-03-15 10:20:38sloonzsetmessageid: <1521109238.05.0.467229070634.issue33079@psf.upfronthosting.co.za>
2018-03-15 10:20:38sloonzlinkissue33079 messages
2018-03-15 10:20:37sloonzcreate