提交 6f162173 authored 作者: xuxueli's avatar xuxueli

移除commons-exec,采用原生方式实现;

上级 82b4d735
......@@ -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)
// 标准输入
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论