Hi Dean,
On 9 May 2014 13:16, Dean Chester <dean.g.ches...@gmail.com> wrote:
> I am using python 3.4, and setting multiprocessing to spawn processes not
> fork them. I am also calling the freeze support method like so:
>
> multiprocessing.freeze_support()
> multiprocessing.set_start_method('spawn')
>
> Anyone else had this issue on OSX?
>
I don't use OSX, but a couple of things to check:
- Make sure your multiprocessing code is protected by an if __name__ ==
'__main__' condition, so it doesn't spawn processes on import.
- Try calling freeze_support() after set_start_method().
Thomas
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users