Skip to content

allow to safely terminate commands... #36

Description

@alanbem

...by handling SIGINT and SIGINT

        pcntl_async_signals(true);
        pcntl_signal(SIGINT, [$this, 'terminate']);
        pcntl_signal(SIGTERM, [$this, 'terminate']);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions