методы копирования

This commit is contained in:
2023-12-04 18:42:20 +03:00
parent 3f9ba0feb3
commit 11fae0bc4e
5 changed files with 37 additions and 16 deletions

View File

@@ -31,8 +31,7 @@ public:
File makeFileFile = File(makeFilePath, this->makefile_text);
String tests = userWorkspace + "/projects";
String testPath = tests + "/" + test_id;
String copyCommand = "cp -r " + String::DQuotes(testPath + "/.") + " " + String::DQuotes(workspace);
system(copyCommand.getCharArray());
Utils::CopyDirectory(testPath, workspace);
}
virtual String getLaunchScriptText() {
String modules = userWorkspace + "/modules";