PyObjC and multiprocessing module
Trevor Bentley <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <CACniseJemNv9-Bw=gM-PgE0xGx1viPcRe6QYgADdOJLTTt8R4w@mail.gmail.com> |
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 ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Pyobjc-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyobjc-dev