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

Messages about compiling files should go to stderr rather than stdout #574

Closed
nessus42 opened this issue Mar 9, 2017 · 2 comments
Closed

Comments

@nessus42
Copy link

nessus42 commented Mar 9, 2017

Ammonite messages about compiling files should go to stderr rather than stdout.

Yes, I know I can silence such output with "-s", but sometimes it is useful to see such output (so, e.g., I know why the script is running slowly), without having it ruin the contents of the output file when you run a script like so:

$ amm foo.sc > output.txt

The Ivy output currently all goes to stderr (which is where it should go), so having the compiling messages go to the same place would also be more consistent.

@DavidPerezIngeniero
Copy link

+1

@lihaoyi
Copy link
Member

lihaoyi commented Mar 10, 2017

Yeah that's a great idea.

lihaoyi added a commit that referenced this issue May 12, 2017
This came up when investigating #574. It's not the original problem
being reported, but it was an easy ix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants