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
Clarify whether spawned processes get the current standard streams in docs #1226
Comments
|
The docs are arguably not wrong (though unarguably will lead to the same confusion you have). The STDOUT of the process lives in Whether this is desirable is an entirely separate question. It's certainly inconsistent with That we reflect changes to |
|
@briandfoy - can you fix the title? It seems to be missing a word. |
|
Can somebody turn this into a TODO list? Otherwise this ticket looks scary. |
|
Is this about clarification of who gets the standard streams? If so, it's just changing a sentence. This one:
Tells us what to do, right? |
The docs for Proc shell say
But, Brad Gilbert notes in my StackOverflow question that Perl 6 won't pass on changes to
$*OUT, etc to child processes. This seems wrong to me, but if that's the way it is, that's the way it is. If this is a design decision (much like the early issues with the Java in the 90s to standardize behavior for dissimilar devices), that should be emphasized as a major language decision.I don't know what the answer is, but if Perl 6 will never pass on the current values of what it tells the user is standard output and so on, it shouldn't say that spawned processes "inherit the stream from the parent process".
The text was updated successfully, but these errors were encountered: