Browse Source

windows task kill command update

ca333-dev
Satinder Grewal 8 years ago
parent
commit
4b1ff2c42e
  1. 2
      main.js

2
main.js

@ -118,7 +118,7 @@ function createWindow (status) {
mainWindow.on('closed', function () { mainWindow.on('closed', function () {
if (os.platform() !== 'win32') { ig.kill(); } if (os.platform() !== 'win32') { ig.kill(); }
if (os.platform() === 'win32') { if (os.platform() === 'win32') {
exec('taskkill /F /IM iguana.exe', {cwd: iguanaDir}); exec('TASKKILL /F /IM iguana.exe /T', {cwd: iguanaDir});
} }
// our app does not have multiwindow - so we dereference the window object instead of // our app does not have multiwindow - so we dereference the window object instead of
// putting them into an window_arr // putting them into an window_arr

Loading…
Cancel
Save