WinUpdater: Quote path for args when relaunching Dolphin.

This commit is contained in:
Admiral H. Curtiss 2023-03-17 03:47:30 +01:00
parent 91fca0783e
commit 33d0ec97e9
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ void LaunchApplication(std::string path)
} }
else else
{ {
std::wstring cmdline = wpath; std::wstring cmdline = L"\"" + wpath + L"\"";
STARTUPINFOW startup_info{.cb = sizeof(startup_info)}; STARTUPINFOW startup_info{.cb = sizeof(startup_info)};
PROCESS_INFORMATION process_info; PROCESS_INFORMATION process_info;
if (IsTestMode()) if (IsTestMode())