Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Signal handling #1

@ConradIrwin

Description

@ConradIrwin

The current implementation doesn't blend very well with process supervisors or kill on linux as it absorbs signals intended for the actual app. This is fixable in some cases by handling the signal and passing it on, but not in all cases (like kill -9).

I'm working on an implementation that will use a subprocess (and dup2) to have the monitor as a child process to avoid this issue, but it won't (as far as I know) work on windows. Would you be open to adding that as an option (or as the default on supported platforms) to panicwrap, or should I publish my own library (hopefully containing some of your excellent code :).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions