From 2860186534aaee1c677b6733f86279b32975b2ad Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Sun, 1 Mar 2020 18:55:24 -0500 Subject: [PATCH] Revert "add readline(::AbstractCmd) (#34927)" This reverts commit 570f6d9b2d3e72c4ce96d28b8f18f4c912b32d46. --- base/process.jl | 2 -- test/spawn.jl | 8 -------- 2 files changed, 10 deletions(-) diff --git a/base/process.jl b/base/process.jl index 6b8f50af637bf..e664d7411de69 100644 --- a/base/process.jl +++ b/base/process.jl @@ -320,8 +320,6 @@ function eachline(cmd::AbstractCmd; keep::Bool=false) return EachLine(out, keep=keep, ondone=ondone)::EachLine end -readline(cmd::AbstractCmd; keep::Bool=false) = first(eachline(cmd, keep=keep)) - """ open(command, mode::AbstractString, stdio=devnull) diff --git a/test/spawn.jl b/test/spawn.jl index f9c49479d2f6d..4e6eca4515c97 100644 --- a/test/spawn.jl +++ b/test/spawn.jl @@ -670,14 +670,6 @@ end @test repr(Base.CmdRedirect(``, devnull, 1, true)) == "pipeline(``, stdout