New issue
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
the walking dead (pt 3) #1012
the walking dead (pt 3) #1012
Conversation
Waiting for the child process right aftetr closing the stdin seemed to cause truncated output at random. This way seems to work better.
FWIW, I audited the app's other uses of the $ git push ghe --all
CMD START /Library/Developer/CommandLineTools/usr/libexec/git-core/git [git rev-list --objects 16f09066000e3328fb2d5c54beb55fc25c1af15c --not --remotes=ghe]
CMD START /Library/Developer/CommandLineTools/usr/libexec/git-core/git [git cat-file --batch-check]
CMD START /Library/Developer/CommandLineTools/usr/libexec/git-core/git [git cat-file --batch]
CMD STOP /Library/Developer/CommandLineTools/usr/libexec/git-core/git [git rev-list --objects 16f09066000e3328fb2d5c54beb55fc25c1af15c --not --remotes=ghe]
CMD STOP /Library/Developer/CommandLineTools/usr/libexec/git-core/git [git cat-file --batch-check]
CMD STOP /Library/Developer/CommandLineTools/usr/libexec/git-core/git [git cat-file --batch] |
The waits look right to me 👍 |
Yeah, looks good - I bet Windows was especially susceptible to this, I've had issues before of git leaving files locked sometimes because of things like this. Nice one. |
Thanks for the reviews! |
Building on #1008 (/cc @rlaakkol). Just moved the
Wait()
call before closing the channels, as described in #1008 (comment).