|
há 1 ano atrás | |
---|---|---|
.. | ||
History.md | há 1 ano atrás | |
README.md | há 1 ano atrás | |
exit.js | há 1 ano atrás | |
index.js | há 1 ano atrás | |
package.json | há 1 ano atrás |
graceful exit process even parent exit on SIGKILL.
npm i graceful-process --save
Require this module and execute it on every child process file.
// mycli.js
require('graceful-process')({ logger: console, label: 'mycli-child-cmd' });