Skip to content

Commit

Permalink
Merge pull request #3400 from toddwong/windowsHide2
Browse files Browse the repository at this point in the history
#2182 Get rid of annoying popups in Windows 10
  • Loading branch information
wallet77 authored Jan 26, 2018
2 parents 30b278b + 3a85b59 commit f65e879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/God.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ var async = require('async');
* Override cluster module configuration
*/
cluster.setupMaster({
windowsHide: true,
exec : path.resolve(path.dirname(module.filename), 'ProcessContainer.js')
});

Expand Down
2 changes: 1 addition & 1 deletion lib/TreeKill.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function (pid, signal, callback) {

switch (process.platform) {
case 'win32':
exec('taskkill /pid ' + pid + ' /T /F', callback);
exec('taskkill /pid ' + pid + ' /T /F', { windowsHide: true }, callback);
break;
case 'darwin':
buildProcessTree(pid, tree, pidsToProcess, function (parentPid) {
Expand Down

0 comments on commit f65e879

Please sign in to comment.