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 <1505740615.53.0.789064099664.issue31447@psf.upfronthosting.co.za>
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: <1505740615.53.0.789064099664.issue31447@psf.upfronthosting.co.za>
2017-09-18 13:16:55Leonardo Francalancilinkissue31447 messages
2017-09-18 13:16:55Leonardo Francalancicreate