|
|
há 2 anos atrás | |
|---|---|---|
| .. | ||
| History.md | há 2 anos atrás | |
| README.md | há 2 anos atrás | |
| exit.js | há 2 anos atrás | |
| index.js | há 2 anos atrás | |
| package.json | há 2 anos 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' });