use SIGTERM as default kill signal for child process bug

This commit is contained in:
Stephen Birarda 2018-04-03 17:54:26 -07:00
parent 22ac400402
commit c23d4df932

View file

@ -226,7 +226,7 @@ Process.prototype = extend(Process.prototype, {
}
});
} else {
var signal = force ? 'SIGKILL' : null;
var signal = force ? 'SIGKILL' : 'SIGTERM';
this.child.kill(signal);
}