Skip to content

Commit 53a7c00

Browse files
ranochaKristofferC
authored and
KristofferC
committed
Improve inferrability of open(f, cmd, ...) (#46551)
This fixes invalidations from loading Static.jl (cherry picked from commit 7537cb3)
1 parent 89facae commit 53a7c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/process.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ function open(f::Function, cmds::AbstractCmd, args...; kwargs...)
430430
rethrow()
431431
end
432432
close(P.in)
433-
if !eof(P.out)
433+
if !(eof(P.out)::Bool)
434434
waitkill(P)
435435
throw(_UVError("open(do)", UV_EPIPE))
436436
end

0 commit comments

Comments
 (0)