diff options
author | Bo Bayles <bbayles@gmail.com> | 2019-01-10 17:51:28 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-01-10 17:51:28 (GMT) |
commit | bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d (patch) | |
tree | 19d671a97e376652b382b89e6d8596f645fc3646 /Doc | |
parent | 572168a016ece1b7346695eb7289190c46f1ae55 (diff) | |
download | cpython-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')
-rw-r--r-- | Doc/library/multiprocessing.rst | 7 |
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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |