Re-enable killing atom as part of script/clean

This commit is contained in:
Damien Guard 2016-06-08 20:16:04 -07:00
parent fdac686f26
commit d39ddef9ce
No known key found for this signature in database
GPG Key ID: DC14FA2FB1465DB6

View File

@ -12,8 +12,7 @@ var home = process.env[isWindows ? 'USERPROFILE' : 'HOME'];
var tmpdir = os.tmpdir();
// Windows: Use START as a way to ignore error if Atom.exe isnt running
var killAtomCommand = isWindows ? 'START taskkill /F /IM ' + productName + '.exe' : 'pkill -9 ' + productName + ' || true';
//childProcess.safeExec(killAtomCommand);
childProcess.safeExec(isWindows ? `START taskkill /F /IM ${productName}.exe` : `pkill -9 ${productName} || true`);
var pathsToRemove = [
[__dirname, '..', 'node_modules'],