Message263156
You can workaround this problem by adding a middleman process that sets close_fds=True:
############### childworkaround.py #################
import os
import subprocess
with open(os.devnull, 'w') as devnull:
script = "import subprocess; import sys; subprocess.Popen(sys.argv[1:], close_fds=True)"
proc = subprocess.Popen(['python', '-c', script, 'python', 'resident.py'], stdout=devnull, stderr=devnull, stdin=devnull) |
|
Date |
User |
Action |
Args |
2016-04-10 22:58:44 | saifujinaro | set | recipients:
+ saifujinaro, paul.moore, tim.golden, zach.ware, steve.dower |
2016-04-10 22:58:44 | saifujinaro | set | messageid: <1460329124.94.0.138885617941.issue26731@psf.upfronthosting.co.za> |
2016-04-10 22:58:44 | saifujinaro | link | issue26731 messages |
2016-04-10 22:58:44 | saifujinaro | create | |
|