[agent][executor]- bug - 13
This commit is contained in:
@@ -139,6 +139,15 @@ public class CommandExecutor {
|
||||
// 命令执行完成, countDownLatch计数
|
||||
countDownLatch.countDown();
|
||||
|
||||
// 打印一下 debug
|
||||
commandExecLogCache.PrintCommandCachedLog(streamKey);
|
||||
|
||||
// 关停任务执行的缓存日志收集 BufferedReader 否则无法终止
|
||||
commandExecLogCache.StopExecLogBufferedReader(
|
||||
streamKey,
|
||||
process
|
||||
);
|
||||
|
||||
log.debug(
|
||||
"current shell command {} result is {}",
|
||||
processBuilder.command(),
|
||||
@@ -205,15 +214,6 @@ public class CommandExecutor {
|
||||
);
|
||||
}
|
||||
|
||||
// 打印一下 debug
|
||||
commandExecLogCache.PrintCommandCachedLog(streamKey);
|
||||
|
||||
// 关停任务执行的缓存日志收集 BufferedReader 否则无法终止
|
||||
commandExecLogCache.StopExecLogBufferedReader(
|
||||
streamKey,
|
||||
process
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// 打印一下 debug
|
||||
|
||||
Reference in New Issue
Block a user