Skip to content

Stub binary doesn't support sys.executable spawn/multiprocessing #7

@wtfuzz

Description

@wtfuzz

Describe the bug
When multiprocessing is used to fork a subprocess, the main program entrypoint is executed in the subprocess rather than the Process target.

To Reproduce
create a multiprocessing.Process() and start it using .start() The subprocess will call the parent process entry point.

Expected behavior
The target function is called as the entrypoint of the subprocess

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • Operating System: macOS
  • Python version: 3.10

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA crash or error in behavior.
    No fields configured for issues without a type.

    Projects

    Status
    Needs design

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions