Do not add NULL at end of commandLine on Windows.

This commit is contained in:
Matthieu Gautier
2018-10-31 12:45:08 +01:00
parent 1787e30440
commit bb07ff5610
7 changed files with 10 additions and 10 deletions

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;