v++
рефакторинг. Исправлен баг. если прервать локальную задачу, не удалялся файл interrupt.
This commit is contained in:
@@ -35,9 +35,11 @@ public class MVSRunSupervisor extends ServerRunSupervisor {
|
||||
String res = "maxtime=" + Utils.DQuotes(mvs_time) + " ./run";
|
||||
if (!env.isEmpty())
|
||||
res = env + " " + res;
|
||||
/*
|
||||
mvs.enqueueTask(pass.ShellCommand(
|
||||
"cd " + Utils.DQuotes(getRemoteProject().full_name),
|
||||
res), task);
|
||||
*/
|
||||
}
|
||||
@Override
|
||||
protected boolean isTaskActive() {
|
||||
@@ -45,11 +47,11 @@ public class MVSRunSupervisor extends ServerRunSupervisor {
|
||||
}
|
||||
@Override
|
||||
protected void CheckTask() throws Exception {
|
||||
mvs.checkTask(pass.ShellCommand(mvs.getCheckTaskCommand(task)), task);
|
||||
// mvs.checkTask(pass.ShellCommand(mvs.getCheckTaskCommand(task)), task);
|
||||
}
|
||||
@Override
|
||||
protected void AbortTask() throws Exception {
|
||||
pass.ShellCommand(mvs.getCancelTaskCommand(task));
|
||||
// pass.ShellCommand(mvs.getCancelTaskCommand(task));
|
||||
}
|
||||
@Override
|
||||
protected void CalculatePerformanceTime() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user