Skip to content

执行commands有问题 #19

Description

@Chersh-Pan

for (String command : commands) {
if (command == null) {
continue;
}

 // donnot use os.writeBytes(commmand), avoid chinese charset error
os.write(command.getBytes());
os.writeBytes(COMMAND_LINE_END);
os.flush();
}

当传入的commands数组过大,os write将近64M的字节时会出现错误

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions