|
hai 1 ano | |
---|---|---|
.. | ||
History.md | hai 1 ano | |
README.md | hai 1 ano | |
exit.js | hai 1 ano | |
index.js | hai 1 ano | |
package.json | hai 1 ano |
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' });