We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7005fb6 commit af944f8Copy full SHA for af944f8
src/restart.ts
@@ -87,7 +87,7 @@ async function restartWindows() {
87
' Start-Sleep -Milliseconds 100',
88
'}',
89
].join('')
90
- const batchScript = `taskkill /F /IM ${exeName}.exe >nul && powershell -Command "${checkScript}" && "${binary}"`
+ const batchScript = `taskkill /F /IM "${exeName}.exe" >nul && powershell -Command "${checkScript}" && "${binary}"`
91
92
return spawn(
93
process.env.comspec ?? 'cmd',
0 commit comments