diff --git a/script/clean b/script/clean index cc4933f95..ce1314ceb 100755 --- a/script/clean +++ b/script/clean @@ -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'],