graceful exit process even parent exit on SIGKILL.






graceful exit process even parent exit on SIGKILL.
``bash`
npm i graceful-process
Import this module and execute it on every child process file.
`ts
// mycli.ts
import { graceful } from 'graceful-process';
graceful({ logger: console, label: 'mycli-child-cmd' });
``
- [x] cluster
- [x] child_process.fork()
- [ ] child_process.spawn()

Made with contributors-img.