diff --git a/base/stream.jl b/base/stream.jl index 789297918b7e7..84d36f9606e4a 100644 --- a/base/stream.jl +++ b/base/stream.jl @@ -951,7 +951,7 @@ the pipe. The `wr` end is given for convenience in case the old elsewhere. !!! note - `stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref). + `stream` must be a `TTY`, a `Pipe`, or a socket. """ redirect_stdout @@ -961,7 +961,7 @@ redirect_stdout Like [`redirect_stdout`](@ref), but for [`stderr`](@ref). !!! note - `stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref). + `stream` must be a `TTY`, a `Pipe`, or a socket. """ redirect_stderr @@ -973,7 +973,7 @@ Note that the order of the return tuple is still `(rd, wr)`, i.e. data to be read from [`stdin`](@ref) may be written to `wr`. !!! note - `stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref). + `stream` must be a `TTY`, a `Pipe`, or a socket. """ redirect_stdin @@ -998,7 +998,7 @@ Run the function `f` while redirecting [`stdout`](@ref) to `stream`. Upon completion, [`stdout`](@ref) is restored to its prior setting. !!! note - `stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref). + `stream` must be a `TTY`, a `Pipe`, or a socket. """ redirect_stdout(f::Function, stream) @@ -1009,7 +1009,7 @@ Run the function `f` while redirecting [`stderr`](@ref) to `stream`. Upon completion, [`stderr`](@ref) is restored to its prior setting. !!! note - `stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref). + `stream` must be a `TTY`, a `Pipe`, or a socket. """ redirect_stderr(f::Function, stream) @@ -1020,7 +1020,7 @@ Run the function `f` while redirecting [`stdin`](@ref) to `stream`. Upon completion, [`stdin`](@ref) is restored to its prior setting. !!! note - `stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref). + `stream` must be a `TTY`, a `Pipe`, or a socket. """ redirect_stdin(f::Function, stream)