Skip to content

Commit da31c07

Browse files
authored
Quote winget server path before calling CreateProcess (#6122)
1 parent 823dcfd commit da31c07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WinGetServer/WinGetServerManualActivation_Client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ struct ServerProcessLauncher
8888
{
8989
RETURN_IF_FAILED(m_hr);
9090

91-
std::wstring commandLineInput = std::wstring{ m_serverExePath } + L" --manualActivation";
91+
std::wstring commandLineInput = L"\"" + std::wstring{ m_serverExePath } + L"\" --manualActivation";
9292

9393
STARTUPINFO info = { sizeof(info) };
9494
wil::unique_process_information process;

0 commit comments

Comments
 (0)