-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.P-mediumMedium priorityMedium priority
Description
By default, stdin, stdout and stderr are captured (and used to provide the resulting output).
"capture" makes it sound like the data is stored somewhere for later inspection. There is no stdin
field in process::Output.
I did some looking into the implementation, and to me it seems that the child's stdin is simply closed before waiting. @talchas on IRC told me that it's made to be Stdio::null()
.
In any case, this should be clarified.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.P-mediumMedium priorityMedium priority
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Clarify stdin behavior of `Command::output`.
Command::output
. #46220frewsxcv commentedon Nov 23, 2017
Opened a pull request for this: #46220
Rollup merge of rust-lang#46220 - rust-lang:frewsxcv-issue-44929, r=k…
MIR: Fix value moved diagnose messages