Skip to content

Wait for SSH's stdin and stderr to be drained. - #5052

Open
NullHypothesis wants to merge 1 commit into
masterfrom
wait-for-copy
Open

Wait for SSH's stdin and stderr to be drained.#5052
NullHypothesis wants to merge 1 commit into
masterfrom
wait-for-copy

Conversation

@NullHypothesis

Copy link
Copy Markdown
Contributor

So far, fast commands would finish before we're done draining their stdin and/or stdout, which would result in lost output. This PR adds a wait group to make sure that we're done draining before returning.

So far, fast commands would finish before we're done draining their `stdin`
and/or `stdout`, which would result in lost output. This PR adds a wait
group to make sure that we're done draining before returning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant