[Pyobjc-dev] PyObjC and multiprocessing module
Brought to you by:
ronaldoussoren
From: Trevor B. <mr...@gm...> - 2011-12-07 22:54:08
|
I found a bunch of hits for this on Google, but no answers: I am working on a Python application that uses the multiprocessing library. I am trying to spawn a process and perform text-to-speech with pyttsx, but I get the dreaded __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() error. Is there any way to get this working, short of switching back to threads? I see that the 'correct' way is to fork() and exec(), but I don't see any way to make that compatible with the multiprocessing module's API. Thanks, -Trevor |