|
%!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
History.md | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
exit.js | %!s(int64=2) %!d(string=hai) anos | |
index.js | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos |
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' });