From 6f1621735f76030d4d4d935aaadba69875812fcc Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Thu, 12 Dec 2019 17:41:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4commons-exec=EF=BC=8C?= =?UTF-8?q?=E9=87=87=E7=94=A8=E5=8E=9F=E7=94=9F=E6=96=B9=E5=BC=8F=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/xxl/job/core/util/ScriptUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xxl-job-core/src/main/java/com/xxl/job/core/util/ScriptUtil.java b/xxl-job-core/src/main/java/com/xxl/job/core/util/ScriptUtil.java index 83bc86e7..9fd0b4d8 100644 --- a/xxl-job-core/src/main/java/com/xxl/job/core/util/ScriptUtil.java +++ b/xxl-job-core/src/main/java/com/xxl/job/core/util/ScriptUtil.java @@ -52,7 +52,7 @@ public class ScriptUtil { * @return * @throws IOException */ - public static int execToFileB(String command, String scriptFile, String logFile, String... params) throws IOException { + public static int execToFile(String command, String scriptFile, String logFile, String... params) throws IOException { FileOutputStream fileOutputStream = null; Thread inputThread = null; @@ -187,7 +187,7 @@ public class ScriptUtil { * @return * @throws IOException */ - /*public static int execToFile(String command, String scriptFile, String logFile, String... params) throws IOException { + /*public static int execToFileB(String command, String scriptFile, String logFile, String... params) throws IOException { // 标准输出:print (null if watchdog timeout) // 错误输出:logging + 异常 (still exists if watchdog timeout) // 标准输入