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 Leonardo Francalanci
Recipients Leonardo Francalanci, eryksun, martin.panter, r.david.murray
Date 2017-09-18.13:16:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
That works!
But when I said "also with close_fds=True", I meant that I tried WITHOUT overriding stdin, stdout, and stderr AND setting close_fds=True, but it didn't work. What worked was not overriding stdin/out/err and adding

os.set_inheritable(0, False)
os.set_inheritable(1, False)
os.set_inheritable(2, False)

before the call (no need to set close_fds)
History
Date User Action Args
2017-09-18 13:16:55Leonardo Francalancisetrecipients: + Leonardo Francalanci, r.david.murray, martin.panter, eryksun
2017-09-18 13:16:55Leonardo Francalancisetmessageid: <[email protected]>
2017-09-18 13:16:55Leonardo Francalancilinkissue31447 messages
2017-09-18 13:16:55Leonardo Francalancicreate