Skip to content

deprecate Process.fork #12

@zw963

Description

@zw963

Check crystal-lang/crystal#16644 (comment)

The deprecation warning cannot be avoided.

As said above: don't use Process.fork.

ProcesS.fork has been deprecated and undocumented since even before 1.0.0 was released; it's incompatible with MT and will be unavailable when we roll out execution contexts.

Any usage must be fixed ASAP. Instead, spawn a fiber (in a parallel execution context) start a dedicated execution context, or spawn an actual child process (e.g. by calling the current executable with special args).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions