Skip to content
This repository was archived by the owner on Mar 4, 2022. It is now read-only.

Conversation

@joakimbeng
Copy link

For a process to have a change for a graceful shutdown a SIGINT signal is sent when Ctrl+C is pressed instead of exiting the process immediately.

Blessed already have a registered SIGINT handler which calls process.exit(0) if no other handlers exist (https://github.com/chjj/blessed/blob/master/lib/widgets/screen.js#L232)

For a process to have a change for a graceful shutdown a SIGINT signal is sent when Ctrl+C is pressed instead of exiting the process immediately.
Blessed already have a registered SIGINT handler which calls `process.exit(0)` if no other handlers exist (https://github.com/chjj/blessed/blob/master/lib/widgets/screen.js#L232)
ryan-roemer added a commit that referenced this pull request Nov 22, 2019
- Add the `node_modules` directory from wherever `nodejs-dashboard` is installed to `NODE_PATH` so that the portion of the instructions `<SNIPPED> -- node -r nodejs-dashboard <SNIPPED>` works. Fixes #90 
- Use SIGINT for Ctrl-c. Replaces and closes #93
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant