mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 10:06:42 +00:00
Fix typpo issue on arguments
This commit is contained in:
parent
e2041de969
commit
3eb2b32123
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ namespace Crash
|
||||||
|
|
||||||
std::wstringstream ss;
|
std::wstringstream ss;
|
||||||
ss << "--crash-monitor " << std::hex << duplicateHandle(mShmHandle);
|
ss << "--crash-monitor " << std::hex << duplicateHandle(mShmHandle);
|
||||||
std::wstring argumetns(ss.str());
|
std::wstring arguments(ss.str());
|
||||||
|
|
||||||
STARTUPINFOW si;
|
STARTUPINFOW si;
|
||||||
ZeroMemory(&si, sizeof(si));
|
ZeroMemory(&si, sizeof(si));
|
||||||
|
@ -157,7 +157,7 @@ namespace Crash
|
||||||
PROCESS_INFORMATION pi;
|
PROCESS_INFORMATION pi;
|
||||||
ZeroMemory(&pi, sizeof(pi));
|
ZeroMemory(&pi, sizeof(pi));
|
||||||
|
|
||||||
if (!CreateProcessW(&executablePath[0], &argumetns[0], NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi))
|
if (!CreateProcessW(&executablePath[0], &arguments[0], NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi))
|
||||||
throw std::runtime_error("Could not start crash monitor process");
|
throw std::runtime_error("Could not start crash monitor process");
|
||||||
|
|
||||||
waitMonitor();
|
waitMonitor();
|
||||||
|
|
Loading…
Reference in a new issue