Skip to content

Docs: Multiprocessing 'spawn' *can be* used with some forms of frozen executables #101165

Open
@davetapley

Description

@davetapley

Documentation

The multiprocessing docs say:

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.

But based on pyinstaller/pyinstaller#4865 (comment) and my own testing spawn works just fine (assuming you multiprocessing.freeze_support() as noted on the pyinstaller issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions