-
Notifications
You must be signed in to change notification settings - Fork 3k
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
doesn't respect unix pipes #2876
Comments
What do you mean "doesn't respect unix pipes", it doesn't have any control over them- it just uses stdout and stderr. |
Most programs are written to expect that their pipes can be closed at any time, where they have to decide to continue to run (without writing to the nonexistent pipe) or die depending on whether or not they're doing something aside from providing the user with information. If you run the example above, you should see pip give exception. |
So you mean 'when pip can't write to stdout, it errors'. This seems reasonable: nohup pip is there for a reason :). |
I don't have a problem with just not printing output if there isn't a stdout/stderr to print too (or it's closed). PRs accepted! |
Closing this in favor of #4170 which contains more infos. |
try reproducing the problem with this:
pip list | head
The text was updated successfully, but these errors were encountered: