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