Skip to content

Commit

Permalink
Improve inferrability of open(f, cmd, ...) (#46551)
Browse files Browse the repository at this point in the history
This fixes invalidations from loading Static.jl
  • Loading branch information
ranocha authored Aug 31, 2022
1 parent adc72d1 commit 7537cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/process.jl
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ function open(f::Function, cmds::AbstractCmd, args...; kwargs...)
rethrow()
end
close(P.in)
if !eof(P.out)
if !(eof(P.out)::Bool)
waitkill(P)
throw(_UVError("open(do)", UV_EPIPE))
end
Expand Down

0 comments on commit 7537cb3

Please sign in to comment.