[agent][executor]- bug - 11

This commit is contained in:
zeaslity
2023-02-26 15:16:52 +08:00
parent 5a679a1a8e
commit 1ed16b65b7

View File

@@ -146,6 +146,7 @@ public class CommandExecLogCache {
commandCachedLog::add
);
log.debug(
"命令代码 [ {} ] 的执行日志内容为 {} ",
streamKey,
@@ -171,11 +172,11 @@ public class CommandExecLogCache {
try {
// 关闭command的输出流
process
.getInputStream()
.close();
inputStreamReader.close();
// process
// .getInputStream()
// .close();
//
// inputStreamReader.close();
bufferedReader.close();