mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 16:39:41 +00:00
run command in windows with quotes
This commit is contained in:
parent
fd45e0c9ac
commit
52e33a68e1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ int runBinary(
|
|||
{
|
||||
#ifdef _WIN32
|
||||
std::wstringstream cmd;
|
||||
cmd << binaryPath.native() << L" -i " << '"' << iniPath.native() << '"' << L" -c " << '"' << cfgPath.native()
|
||||
cmd << L'"' << binaryPath.native() << L'"' << L" -i " << '"' << iniPath.native() << '"' << L" -c " << '"' << cfgPath.native()
|
||||
<< '"';
|
||||
return _wsystem(cmd.str().c_str());
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue