You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current documentation covers some aspects of launching processes and interacting with them using STDIN and STDOUT. However, Julia has much more powerful capabilities that remain largely undocumented. In particular, concurrent use of the three standard process streams STDIN, STDOUT and STDERR is not documented.
In addition, there are several ways to acomplish this kind of iteration. It has been suggested that some of these may be deprecated in favor of pipeline.
Deprecate or document four-argument spawn. Example:
julia> stdin, stdout, stderr = (Pipe() for _ in 1:3);
julia> spawn(`cat`, stdin, stdout, stderr)
Deprecate or document use of pipeline with three pipes. Example:
julia> stdin, stdout, stderr = (Pipe() for _ in 1:3);
julia> pipeline(`cat`, stdin=stdin, stdout=stdout, stderr=stderr)
Deprecate or document use of pipeline with one pipe. This involves also documenting that the objects returned by open allow access to the pipes (is this also true of spawn?) Example (not supported in v0.6):
julia> p = open(pipeline(`cat`; stderr=Pipe()), "r+")
# Use p.{in,out,err} to access
The text was updated successfully, but these errors were encountered:
Current documentation covers some aspects of launching processes and interacting with them using STDIN and STDOUT. However, Julia has much more powerful capabilities that remain largely undocumented. In particular, concurrent use of the three standard process streams STDIN, STDOUT and STDERR is not documented.
See previous discussion here (and links therein).
In addition, there are several ways to acomplish this kind of iteration. It has been suggested that some of these may be deprecated in favor of
pipeline
.These are the suggested tasks:
Document
Pipe()
(Deprecatereadandwrite
and add docs forPipe
#24718)Deprecate or document four-argument
spawn
. Example:Deprecate or document use of
pipeline
with three pipes. Example:Deprecate or document use of
pipeline
with one pipe. This involves also documenting that the objects returned byopen
allow access to the pipes (is this also true ofspawn
?) Example (not supported in v0.6):The text was updated successfully, but these errors were encountered: