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