Do not add NULL at end of commandLine on Windows.

This commit is contained in:
Matthieu Gautier committed 2018-10-31 13:56:42 +01:00
1 parent 1787e30440
commit bb07ff5610
7 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ std::unique_ptr<wchar_t[]> toWideChar(const std::string& value)
}
void WinImpl::run(const commandLine_t& commandLine)
void WinImpl::run(commandLine_t& commandLine)
{
STARTUPINFOW startInfo = {0};
PROCESS_INFORMATION procInfo;