1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 03:45:34 +00:00

give aon3 tip a try

This commit is contained in:
Bret Curtis 2023-05-08 21:47:52 +02:00
parent f256a87ce3
commit a0251d0d0f

View file

@ -42,8 +42,7 @@ int runBinary(
{
#ifdef _WIN32
std::wstringstream cmd;
cmd << L'& "' << binaryPath.native() << L'"' << L" -i " << '"' << iniPath.native() << '"' << L" -c " << '"'
<< cfgPath.native() << '"';
cmd << L"& '" << binaryPath.native() << L"' -i '" << iniPath.native() << L"' -c '" << cfgPath.native() << "'";
return _wsystem(cmd.str().c_str());
#else
std::stringstream cmd;