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

Warnings should not be writton on stderr #12735

Closed
qetza opened this issue Mar 24, 2020 · 2 comments
Closed

Warnings should not be writton on stderr #12735

qetza opened this issue Mar 24, 2020 · 2 comments
Assignees
Labels
Milestone

Comments

@qetza
Copy link

qetza commented Mar 24, 2020

Currently warnings (preview feature, deprecated feature...) is written to stderr but those are not errors.

This behaviors can break scripts in powershell if we make them fail automatically if something is written to stderr.

Those outputs should be written to the standard output to avoid false error.

@yungezz
Copy link
Member

yungezz commented Mar 24, 2020

thanks for reporting, this is a known issue, and there's a fix in underlying framework to fix it. @jiasli can share more detail

@yungezz yungezz added this to the S167 milestone Mar 24, 2020
@yungezz yungezz added the Knack label Mar 24, 2020
@jiasli
Copy link
Member

jiasli commented Mar 24, 2020

We have added option --only-show-errors in #12604 to disable warnings that are written to stderr. It will be included in S167 release.

@jiasli jiasli closed this as completed Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants