summaryrefslogtreecommitdiffstats
path: root/Doc/library/multiprocessing.rst
diff options
context:
space:
mode:
authorBo Bayles <bbayles@gmail.com>2019-01-10 17:51:28 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-01-10 17:51:28 (GMT)
commitbab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d (patch)
tree19d671a97e376652b382b89e6d8596f645fc3646 /Doc/library/multiprocessing.rst
parent572168a016ece1b7346695eb7289190c46f1ae55 (diff)
downloadcpython-bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d.zip
cpython-bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d.tar.gz
cpython-bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d.tar.bz2
bpo-32146: Add documentation about frozen executables on Unix (GH-5850)
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r--Doc/library/multiprocessing.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 1d0920a..a778159 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~