Исправление бага с пробелами. v++

This commit is contained in:
2024-03-27 00:28:04 +03:00
parent 79085ad5f8
commit cad6ea8d3b
6 changed files with 9 additions and 6 deletions

View File

@@ -150,8 +150,7 @@ public abstract class TestingPlanner<P extends TestingPackage> {
Print("package " + testingPackage.id + " NEEDS TO KILL");
Kill();
UpdatePackageState(TasksPackageState.Aborted);
ServerCommand(ServerCode.DeleteObjectByPK,
new Pair(TestingPackageToKill.class, ptk_id));
ServerCommand(ServerCode.DeleteObjectByPK, new Pair(TestingPackageToKill.class, ptk_id));
} else {
Session();
}

View File

@@ -237,7 +237,7 @@ public class UserConnection {
//--
writeToFile("cd " + Utils.DQuotes(directory.full_name) + "\n" + String.join("\n", commands), script_file);
//--
ShellCommand(script_file.full_name + " 1>" + Utils.DQuotes(out.full_name) + " 2>" + Utils.DQuotes(err.full_name));
ShellCommand(Utils.DQuotes(script_file.full_name) + " 1>" + Utils.DQuotes(out.full_name) + " 2>" + Utils.DQuotes(err.full_name));
return new Pair<>(out, err);
}
public void putResource(RemoteFile dstDirectory, String resource_name) throws Exception {