ночные изменения,+ исправление бага с иконкой сравнения
This commit is contained in:
@@ -30,13 +30,7 @@ public class RemoteCompilationSupervisor extends RemoteTaskSupervisor<Compilatio
|
||||
}
|
||||
@Override
|
||||
protected void StartTask() throws Exception {
|
||||
pass.user.connection.performScriptNoWait(getRemoteProject(), getStartCommand()+" 1>PID");
|
||||
RemoteFile PID = getPID();
|
||||
while (!pass.user.connection.Exists(PID)){
|
||||
System.out.println("PID NOT FOUND");
|
||||
Utils.sleep(1000);
|
||||
}
|
||||
task.PID = pass.user.connection.readFromFile(PID).replace("\n","").replace("\r","");
|
||||
task.PID = pass.user.connection.startProcess(getRemoteProject(), getStartCommand());
|
||||
System.out.println("PID="+Utils.Brackets(task.PID));
|
||||
task.state = TaskState.Running;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user