Skip to content

process.kill(pid, signal) does not recognize common signal strings #29642

@ORESoftware

Description

@ORESoftware

I am getting this error:

 Uncaught exception: TypeError [ERR_UNKNOWN_SIGNAL]: Unknown signal: INT

and it was used like:

    process.kill(num, 'INT');

this works tho:

    process.kill(num, 'SIGINT');

it should probably work with the short signal names?

Metadata

Metadata

Assignees

No one assigned

    Labels

    processIssues and PRs related to the process subsystem.questionIssues that look for answers.wontfixIssues that will not be fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions