-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
Pkg fails to print all output from subprocesses #3488
Comments
AFAICT the documentation of this is that it's explicitly not in the list in the note here https://docs.julialang.org/en/v1.10-dev/base/io-network/#Base.redirect_stdout Would it be possible to improve the docs. Perhaps a short section on buffering best practices linked to in all relevant buffer types and redirect functions? |
A second mistake is that someone called |
Fixed by #3573 |
It seems there is some mistake in Pkg IO handling that results in it truncating the output from subprocesses. A possible reason is the mistaken use of IOBuffer, when that is supposed to be forbidden to use for stdout. One example is at
Pkg.jl/test/utils.jl
Line 303 in c3b9d3e
I have been too busy and forgot to implement the error when I added automatic conversion functionality (for stdin and BufferStream), but this may lead to problems with corrupt output. I think the upstream issue for this is
JuliaLang/julia#46768 (comment)
The text was updated successfully, but these errors were encountered: