|
|
преди 2 години | |
|---|---|---|
| .. | ||
| History.md | преди 2 години | |
| README.md | преди 2 години | |
| exit.js | преди 2 години | |
| index.js | преди 2 години | |
| package.json | преди 2 години | |
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' });