-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added documentation for read command methods #28748
Conversation
base/process.jl
Outdated
read(command) | ||
|
||
Run a command asynchronously and return an array of bytes from the resulting stream. | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it is true that this runs async?
Also, I think we can specify this as read(command::Cmd)
since Cmd
is the only exported AbstractCmd
? Also, perhaps could write this as, "Run command
..." to show that it is the command
argument that is getting run. "The resulting stream" sounds a bit odd, what is the "resulting stream" here? Maybe just call it "output"?
The |
* added documentation for read command methods * fixed docs (cherry picked from commit f6c48eb)
* added documentation for read command methods * fixed docs
* added documentation for read command methods * fixed docs (cherry picked from commit f6c48eb)
* added documentation for read command methods * fixed docs (cherry picked from commit f6c48eb)
* added documentation for read command methods * fixed docs (cherry picked from commit f6c48eb)
Added documentation for the
read(::Cmd)
andread(::Cmd, ::Type{String})
methods.I'm only vaguely familiar with the correct terminology here, so if you have suggestions of how to improve these, please make them.