[agent][executor]- bug - 3
This commit is contained in:
@@ -182,6 +182,9 @@ public class CommandExecutor {
|
|||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
||||||
|
// 对线程进行debug
|
||||||
|
commandExecLogCache.debugProcessStreams(process);
|
||||||
|
|
||||||
// 任务提前执行结束,或者超过了最长等待时间
|
// 任务提前执行结束,或者超过了最长等待时间
|
||||||
// 判断命令是否正确处理完成
|
// 判断命令是否正确处理完成
|
||||||
if (!commandExecComplete) {
|
if (!commandExecComplete) {
|
||||||
@@ -206,8 +209,6 @@ public class CommandExecutor {
|
|||||||
.get()
|
.get()
|
||||||
);
|
);
|
||||||
|
|
||||||
// 对线程进行debug
|
|
||||||
commandExecLogCache.debugProcessStreams(process);
|
|
||||||
|
|
||||||
process.destroy();
|
process.destroy();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user