Hartmut Goebel píše v Čt 13. 10. 2011 v 11:40 +0200:
> Documented in http://www.pyinstaller.org/wiki/Recipe/Multiprocessing
It works fine in --onedir mode. However for --onefile there are some
issues.
One minor issue was that we need to get correct _MEIPASS value. And we
can't get it from dirname(sys.executable). I fixed the Recipe to get the
right value from PYTHONPATH.
However, another issue is that the main process is not waiting for the
multiprocess subprocesses to finish their activity!
- not frozen python code is waiting for multiprocess subprocesses)
- the multiprocess subprocess then fails becase it can't find
libpython.dll
- that's because at that time main process is gone and files unpacked
into tmp dir are already deleted
We need to find a way how to wait in main process for multiprocess
subprocesses.
I reopened the ticket #182.
Martin
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.