Message203282
Never mind, I figured it:
On Python 3.3, the combination of locking around Popen and opening the file that I redirect to using the code below works (code from scons):
def open_noinherit(*args, **kwargs):
fp = open(*args, **kwargs)
win32api.SetHandleInformation(msvcrt.get_osfhandle(fp.fileno()),
win32con.HANDLE_FLAG_INHERIT,
0)
return fp |
|
Date |
User |
Action |
Args |
2013-11-18 11:43:36 | Bernt.Røskar.Brenna | set | recipients:
+ Bernt.Røskar.Brenna, astrand, vstinner, gps, tim.golden, r.david.murray, neologix, sbt |
2013-11-18 11:43:36 | Bernt.Røskar.Brenna | set | messageid: <1384775016.13.0.612707739221.issue19575@psf.upfronthosting.co.za> |
2013-11-18 11:43:36 | Bernt.Røskar.Brenna | link | issue19575 messages |
2013-11-18 11:43:35 | Bernt.Røskar.Brenna | create | |
|