Skip to content

Commit

Permalink
Fix killing processes in Windows gitbash
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva committed Dec 28, 2016
1 parent 1a29153 commit 8711905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function run(commands) {
['SIGINT', 'SIGTERM'].forEach(function(signal) {
process.on(signal, function() {
children.forEach(function(child) {
child.kill(signal);
treeKill(child.pid, signal);
});
});
});
Expand Down

0 comments on commit 8711905

Please sign in to comment.