Permalink
Browse files

bpo-32146: Add documentation about frozen executables on Unix (GH-5850)

(cherry picked from commit bab4bbb)

Co-authored-by: Bo Bayles <bbayles@gmail.com>
  • Loading branch information...
miss-islington and bbayles committed Jan 10, 2019
1 parent 3e3d57d commit b9cd38f928f7eb4e18ad4b63e5c49c05c626c33e
@@ -186,6 +186,13 @@ A library which wants to use a particular start method should probably
use :func:`get_context` to avoid interfering with the choice of the
library user.

.. warning::

The ``'spawn'`` and ``'forkserver'`` start methods cannot currently
be used with "frozen" executables (i.e., binaries produced by
packages like **PyInstaller** and **cx_Freeze**) on Unix.
The ``'fork'`` start method does work.


Exchanging objects between processes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -0,0 +1,2 @@
Document the interaction between frozen executables and the spawn and
forkserver start methods in multiprocessing.

0 comments on commit b9cd38f

Please sign in to comment.