Closed
Description
Maybe related to #1591 & #1947
Current Behavior:
If I stop a process started by an npm script (with ctrl+c) , its stops, but npm prints error log.
Expected Behavior:
Normal (silent) exit
Steps To Reproduce:
execute any package script and ctrl+c on it.
example:
"start": "sleep 100"
ERR! path /home/jonathan/Workspace/test
npm ERR! command failed
npm ERR! signal SIGINT
npm ERR! command sh -c sleep 100
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jonathan/.npm/_logs/2020-11-05T05_52_10_653Z-debug.log
Environment:
- OS: Fedora 33
- Node: 14.15.0
- npm: 7.0.8