Author Emil.Styrke
Recipients Emil.Styrke, amaury.forgeotdarc, brian.curtin, eckhardt, eryksun, ggenellina, javen72, terry.reedy
Date 2015-03-27.06:01:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
eryksun, thank you for the explanation, the penny finally dropped for me.  It's the *other* child processes that keep the file open, not the parent.  Actually this bug started hitting me after I *stopped* doing exactly what you suggest (fdopen on the temp file), and instead started using file names generated by my program (opened with regular "open") and now I see why that is.  If I use os.fdopen with the O_NOINHERIT flag, it works as expected.
Date User Action Args
2015-03-27 06:01:42Emil.Styrkesetrecipients: + Emil.Styrke, terry.reedy, amaury.forgeotdarc, ggenellina, eckhardt, javen72, brian.curtin, eryksun
2015-03-27 06:01:42Emil.Styrkesetmessageid: <>
2015-03-27 06:01:42Emil.Styrkelinkissue4944 messages
2015-03-27 06:01:41Emil.Styrkecreate