package
Try his best to cleanly stop a process you spawned.
npm install byebyeGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 16 packages.
3.7 MB
Includes dependencies.
Politely ask a program to quit, and then enforce it to. Cross-platform.
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).
MIT