no message
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package Visual_DVM_2021.Passes;
|
||||
import Common.CommonConstants;
|
||||
import _VisualDVM.Global;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.Utils.Utils;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
@@ -51,7 +51,7 @@ public abstract class ProcessPass<T> extends Pass_2021<T> {
|
||||
output.add(line);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
Global.Log.PrintException(ex);
|
||||
CommonUtils.MainLog.PrintException(ex);
|
||||
}
|
||||
}
|
||||
public String ReadLine() throws Exception {
|
||||
@@ -61,7 +61,7 @@ public abstract class ProcessPass<T> extends Pass_2021<T> {
|
||||
return brStdout.readLine();
|
||||
}
|
||||
public void PerformScript(String script_text) throws Exception {
|
||||
PerformScript(Utils.CreateTempFile("script", Global.isWindows ? "bat" : "", script_text), true);
|
||||
PerformScript(Utils.CreateTempFile("script", CommonUtils.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