Stuart Mentzer added the comment:
Further experimentation revealed that freeze_support() works properly
and the proposed patch is not necessary or desirable for the general
freeze case. In the case of an embedded app that calls set_executable()
it seems that the "else" block calling _
Stuart Mentzer added the comment:
Thanks Jesse. If you make broader changes that my patch I am happy to
test on Windows and with py2exe if that is helpful.
I will try to get the py2exe folks to look at the broader
multiprocessing issues I describe as well. If multiprocessing supports
freezing
New submission from Stuart Mentzer :
Freezing apps with multiprocessing on Windows seems to be broken.
First, in get_command_line in multiprocessing/forking.py I find that
this code:
if getattr(sys, 'frozen', False):
return [sys.executable, '--multi