From a27aff7af31068fa1f42712506190cdea82c28d6 Mon Sep 17 00:00:00 2001 From: alaindargelas Date: Thu, 22 Aug 2024 21:27:31 -0700 Subject: [PATCH] Windows comp fix --- src/Simulation/Simulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Simulation/Simulator.cpp b/src/Simulation/Simulator.cpp index ee0b1e37e..6d9aaf76a 100644 --- a/src/Simulation/Simulator.cpp +++ b/src/Simulation/Simulator.cpp @@ -277,8 +277,8 @@ int Simulator::GenerateAutoTestbench() { m_compiler->GetDataPath() / "python3" / "tb_generator.py"; std::string workingDir = std::filesystem::current_path() / ProjManager()->projectName(); - std::string command = std::string(python3Path) + " " + - std::string(scriptPath) + " " + + std::string command = std::string(python3Path.c_str()) + " " + + std::string(scriptPath.c_str()) + " " + ProjManager()->projectName() + " " + std::string(std::filesystem::current_path()); FileUtils::WriteToFile(CommandLogFile("comp"), command);