[Pythonmac-SIG] pyobjc and multiprocessing
sanroque.tech at gmail.com
Tue Jul 21 21:55:27 CEST 2009
I'm wondering if there is a way to "repair" the broken interaction
between pyobjc and the multiprocessing module I'm trying out.
Trying to fire up a runloop inside a forked process (a
multiprocessing.Process object) gives the following:
The process has forked and you cannot use this CoreFoundation
functionality safely. You MUST exec().
() to debug.
This page explains it well enough:
The question is, from the child python process can I do the equiv of
exec() to fix the state of the CoreFoundation libraries?
I've tried reloading() the Cocoa module - but that did not suffice.
More information about the Pythonmac-SIG