mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
clangafiy it
This commit is contained in:
parent
49a86a2d38
commit
9434ac0e06
1 changed files with 4 additions and 3 deletions
|
@ -41,10 +41,11 @@ int runBinary(
|
|||
const std::filesystem::path& binaryPath, const std::filesystem::path& iniPath, const std::filesystem::path& cfgPath)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
std::filesystem::path psScriptPath = std::filesystem::temp_directory_path() /
|
||||
("openmw_iniimporter_tests_" + std::to_string(std::time(nullptr))+ ".ps1");
|
||||
std::filesystem::path psScriptPath = std::filesystem::temp_directory_path()
|
||||
/ ("openmw_iniimporter_tests_" + std::to_string(std::time(nullptr))+ ".ps1");
|
||||
std::wofstream psScriptFile(psScriptPath);
|
||||
psScriptFile << L"& '" << binaryPath.native() << L"' -i '" << iniPath.native() << L"' -c '" << cfgPath.native() << "'";
|
||||
psScriptFile << L"& '" << binaryPath.native() << L"' -i '" << iniPath.native() << L"' -c '" << cfgPath.native()
|
||||
<< "'";
|
||||
psScriptFile.close();
|
||||
|
||||
std::wstringstream psCmd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue