Message329795
I'm still testing this solution, but it looks like if you set the environment variable, and then double fork, the granchild won't crash. Roughly:
os.putenv('OBJC_DISABLE_INITIALIZE_FORK_SAFETY', 'YES')
pid = os.fork()
if pid == 0:
subpid = os.fork()
if subpid == 0:
# I'm in a safe grandchild |
|
Date |
User |
Action |
Args |
2018-11-13 02:00:10 | barry | set | recipients:
+ barry, ronaldoussoren, ned.deily, pablogsal |
2018-11-13 02:00:10 | barry | set | messageid: <1542074410.17.0.788709270274.issue35219@psf.upfronthosting.co.za> |
2018-11-13 02:00:10 | barry | link | issue35219 messages |
2018-11-13 02:00:10 | barry | create | |
|