From 33d0ec97e995ac8b06f115a1842ca1228ae63def Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Fri, 17 Mar 2023 03:47:30 +0100 Subject: [PATCH] WinUpdater: Quote path for args when relaunching Dolphin. --- Source/Core/WinUpdater/WinUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/WinUpdater/WinUI.cpp b/Source/Core/WinUpdater/WinUI.cpp index 48fae8a3b1..418764813b 100644 --- a/Source/Core/WinUpdater/WinUI.cpp +++ b/Source/Core/WinUpdater/WinUI.cpp @@ -271,7 +271,7 @@ void LaunchApplication(std::string path) } else { - std::wstring cmdline = wpath; + std::wstring cmdline = L"\"" + wpath + L"\""; STARTUPINFOW startup_info{.cb = sizeof(startup_info)}; PROCESS_INFORMATION process_info; if (IsTestMode())