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

(cherry picked from commit 7537cb3)
  • Loading branch information
ranocha authored and KristofferC committed Sep 7, 2022
1 parent 89facae commit 53a7c00
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 53a7c00

Please sign in to comment.