Skip to content
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

std::process::Command::{stdin,stdout,stderr} should specify default behavior #40983

Closed
frewsxcv opened this issue Apr 1, 2017 · 2 comments
Closed
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools

Comments

@frewsxcv
Copy link
Member

frewsxcv commented Apr 1, 2017

These should specify what the default behavior is if they aren't explicitly called.

@frewsxcv frewsxcv added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Apr 1, 2017
@retep998
Copy link
Member

retep998 commented Apr 1, 2017

Note that the default behavior depends on whether the child process is using the console subsystem or windows subsystem. Console subsystem apps will inherit your stdout/stdin/stderr while windows subsystem apps will start with no stdout/stdin/stderr unless you explicitly assign them.

@steveklabnik steveklabnik mentioned this issue Apr 25, 2017
14 tasks
@steveklabnik
Copy link
Member

I've folded this into #29370, let's close this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools
Projects
None yet
Development

No branches or pull requests

3 participants