On 10/05/2007 3.24, Greg Ewing wrote:

>> using multiple processes cause some 
>> headaches with frozen distributions (PyInstaller, py2exe, etc.), like those 
>> usually found on Windows, specifically because Windows does not have fork().
> 
> Isn't that just a problem with Windows generally? I don't
> see what the method of packaging has to do with it.

The processing module has two ways of creating a new process which executes 
the same program of the current process:

- fork
- the moral equivalent of popen(sys.executable sys.argv[0]) + some magic 
values passed on the command line which is a pickled state.

The second method doesn't work out-of-the-box when the program is packaged, 
and it is the only one available in Windows.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to