We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func (ssh_conf *MakeConfig) Stream(command string, timeout ...time.Duration) (<-chan string, <-chan string, <-chan bool, <-chan error, error) { ... ... // combine outputs, create a line-by-line scanner stdoutReader := io.MultiReader(outReader) stderrReader := io.MultiReader(errReader) stdoutScanner := bufio.NewScanner(stdoutReader) stderrScanner := bufio.NewScanner(stderrReader) ... ...
The default buf size is 4096. This results in an incomplete output when the command stdout or stderr is greater than this value
The text was updated successfully, but these errors were encountered:
@appleboy Is this project still being maintained?
Sorry, something went wrong.
@Li4n0 Yes
So will this problem be solved? @appleboy
how about add bufsize config?
fixed in #78
No branches or pull requests
The default buf size is 4096. This results in an incomplete output when the command stdout or stderr is greater than this value
The text was updated successfully, but these errors were encountered: