From 3a85b59de4a76796ad0880368d8d085a7ba55d36 Mon Sep 17 00:00:00 2001 From: Todd Wong Date: Sat, 13 Jan 2018 22:19:25 +0800 Subject: [PATCH] fixup! #2182 Get rid of annoying popups in Windows 10 --- lib/God/ForkMode.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/God/ForkMode.js b/lib/God/ForkMode.js index 3451cc6d2..870519962 100644 --- a/lib/God/ForkMode.js +++ b/lib/God/ForkMode.js @@ -93,6 +93,7 @@ module.exports = function ForkMode(God) { try { var cspr = spawn(command, args, { env : pm2_env, + detached : true, windowsHide: true, cwd : pm2_env.pm_cwd || process.cwd(), stdio : ['pipe', 'pipe', 'pipe', 'ipc'] //Same as fork() in node core