[BUG] SIGINT called twice #5021
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 8.x
work is associated with a specific npm 8 release
signals
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
SIGINT
is called twice, immediately terminating the process, causing any cleanup code that runs on SIGINT unable to run without hacking around and handling npm double fire or running the process outside ofnpm run
Expected Behavior
SIGINT
is called just onceSteps To Reproduce
and run it
and the output
> <project>@<version> doSomething > ./do-something ^CSIGINT SIGINT
Environment
The text was updated successfully, but these errors were encountered: