Message329795
| Author | barry |
|---|---|
| Recipients | barry, ned.deily, pablogsal, ronaldoussoren |
| Date | 2018-11-13.02:00:10 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1542074410.17.0.788709270274.issue35219@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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 |
|
| History | |||
|---|---|---|---|
| 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 | |