From 52e33a68e119d13fa0407dfc9776c27d13440625 Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Wed, 3 May 2023 14:41:14 +0200 Subject: [PATCH] run command in windows with quotes --- apps/mwiniimporter_tests/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mwiniimporter_tests/main.cpp b/apps/mwiniimporter_tests/main.cpp index 29a6afd119..dda5f287a0 100644 --- a/apps/mwiniimporter_tests/main.cpp +++ b/apps/mwiniimporter_tests/main.cpp @@ -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