It makes sure that your processes are dead.
The following example uses
killer to kill a child process after an hour.
var spawn = spawnkiller = ;var child = ;;
options is a string or a number, it's assumed to be the PID. Defaults are
used for all other options.
pid- PID of the process to kill
interval- How often to check if process is still alive (default: 1000). Setting to
killSignal- which signal to use to kill the process (default:
termSignal- which signal to use to terminate the process after timeout (default:
timeout- when to send
termSignalto the process (default: 10000).
Called when process is dead.