byebye
Try his best to cleanly stop a process you spawned.
Last updated 6 years ago by elnounch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install byebye 
SYNC missed versions from official npm registry.

byebye

npm Travis branch AppVeyor branch Downloads David David opt David dev

Politely ask a program to quit, and then enforce it to. Cross-platform.

Usage

byebye( process, [callback], [options], [timeout] )
  • process is an object returned by any function of the library child_process.

  • callback is an optional function which will get called after process ended.

    It will be called as callback( signal_or_error_received, return_code ).

  • options is an object with any of the following properties :

  • timeout : delay (in seconds) before killing process if it didn't react to initial request to quit (defaults to 5).

license

MIT

Current Tags

  • 0.9.0                                ...           latest (6 years ago)

1 Versions

  • 0.9.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (2)

Copyright 2014 - 2017 © taobao.org |