[agent][executor]- bug - 8
This commit is contained in:
@@ -19,7 +19,6 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
@@ -222,7 +221,7 @@ public class CommandExecutor {
|
||||
//process.destroy();
|
||||
try {
|
||||
|
||||
byte[] bytes = process
|
||||
/*byte[] bytes = process
|
||||
.getInputStream()
|
||||
.readAllBytes();
|
||||
|
||||
@@ -234,7 +233,7 @@ public class CommandExecutor {
|
||||
log.debug(
|
||||
"从process中获取到的 所有字符内容为 {}",
|
||||
s
|
||||
);
|
||||
);*/
|
||||
|
||||
// 关闭这个命令执行的inputStream
|
||||
log.debug(
|
||||
|
||||
Reference in New Issue
Block a user