未验证 提交 fb5501f5 编写于 作者: G guohaozhang 提交者: GitHub

[Fix-4455][common] fix parse shell output (#4456)

上级 d0ac87a6
......@@ -140,8 +140,8 @@ public class ShellExecutor extends AbstractShell {
String line = "";
while ( (nRead = lines.read(buf, 0, buf.length)) > 0 ) {
line = new String(buf,0,nRead);
output.append(line);
}
output.append(line);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册