diff --git a/script/clean b/script/clean index 8abef6b63..d9a393a86 100755 --- a/script/clean +++ b/script/clean @@ -12,7 +12,7 @@ var home = process.env[(process.platform === 'win32') ? 'USERPROFILE' : 'HOME']; var tmpdir = os.tmpdir(); // Windows: Use START as a way to ignore error if nylas.exe isnt running -var killnylas = process.platform === 'win32' ? 'START taskkill /F /IM ' + productName + '.exe' : 'pkill -9 ' + productName + ' || true'; +var killnylas = process.platform === 'win32' ? 'START taskkill /F /IM "' + productName + '.exe"' : 'pkill -9 "' + productName + '" || true'; var commands = [ killnylas,