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