no message
This commit is contained in:
@@ -2,7 +2,7 @@ package Visual_DVM_2021.Passes;
|
||||
import Common.CommonConstants;
|
||||
import Common.Passes.Pass;
|
||||
import Common.Passes.PassException;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Utils;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
@@ -53,7 +53,7 @@ public abstract class ProcessPass<T> extends Pass<T> {
|
||||
output.add(line);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
CommonUtils.MainLog.PrintException(ex);
|
||||
Utils_.MainLog.PrintException(ex);
|
||||
}
|
||||
}
|
||||
public String ReadLine() throws Exception {
|
||||
@@ -63,7 +63,7 @@ public abstract class ProcessPass<T> extends Pass<T> {
|
||||
return brStdout.readLine();
|
||||
}
|
||||
public void PerformScript(String script_text) throws Exception {
|
||||
PerformScript(Utils.CreateTempFile("script", CommonUtils.isWindows() ? "bat" : "", script_text), true);
|
||||
PerformScript(Utils.CreateTempFile("script", Utils_.isWindows() ? "bat" : "", script_text), true);
|
||||
}
|
||||
public void PerformScript(File script, boolean wait) throws Exception {
|
||||
if (!script.setExecutable(true)) throw new PassException("Не удалось создать исполняемый файл для скрипта");
|
||||
|
||||
Reference in New Issue
Block a user