graceful-process
graceful exit process even parent exit on SIGKILL.
Last updated 7 years ago by popomore .
MIT · Repository · Bugs · Original npm
$ cnpm install graceful-process 
SYNC missed versions from official npm registry.

graceful-process

graceful exit process even parent exit on SIGKILL.

NPM version build status Test coverage David deps Known Vulnerabilities NPM download

Install

npm i graceful-process --save

Usage

Require this module and execute it on every child process file.

// mycli.js
require('graceful-process')({ logger: console, label: 'mycli-child-cmd' });

Support

  • [x] cluster
  • [x] child_process.fork()
  • [ ] child_process.spawn()

Current Tags

  • 1.2.0                                ...           latest (7 years ago)

1 Versions

  • 1.2.0                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org