Timebox processes in case they hang
Want to see pretty graphs? Log in now!
npm install inpatience
|5||downloads in the last week|
|11||downloads in the last month|
|Last Published By|
|Version||1.1.1 last updated 5 months ago|
|Keywords||timebox, hang, process, stop, wait|
Timebox process, useful for processes which sometimes fail silently and then hang forever..
npm install -g inpatience
inpatience -wait 2 -process process_which_might_hang additional_args -- --moar --options
-wait seconds, if nothing has been written to stdout or stderr in that
time, kills the process. Each time something is written to stdout or stderr,
resets the timer.