v++
рефакторинг. Исправлен баг. если прервать локальную задачу, не удалялся файл interrupt.
This commit is contained in:
@@ -5,7 +5,6 @@ import Common.Utils.Utils;
|
||||
import GlobalData.User.User;
|
||||
import GlobalData.User.UserState;
|
||||
import Visual_DVM_2021.Passes.ProcessPass;
|
||||
import files.ConnectionPass;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
|
||||
import java.io.File;
|
||||
@@ -38,13 +37,13 @@ public class LocalInitaliseUser extends ProcessPass<User> {
|
||||
PerformScript(
|
||||
String.join("\n",
|
||||
"cd " + Utils.DQuotes(target.getLocalModulesDir()),
|
||||
"g++ " + ConnectionPass.starter_code + " -o " + ConnectionPass.starter,
|
||||
"chmod 0777 " + ConnectionPass.starter
|
||||
"g++ starter -o starter",
|
||||
"chmod 0777 starter"
|
||||
));
|
||||
PerformScript(String.join("\n",
|
||||
"cd " + Utils.DQuotes(target.getLocalModulesDir()),
|
||||
"g++ " + ConnectionPass.launcher_code + " -o " + ConnectionPass.launcher,
|
||||
"chmod 0777 " + ConnectionPass.launcher
|
||||
"g++ launcher.cpp -o launcher",
|
||||
"chmod 0777 launcher"
|
||||
));
|
||||
}
|
||||
//-
|
||||
|
||||
Reference in New Issue
Block a user