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

Revert "lib: print to stdout/stderr directly instead of using console" #27823

Closed
wants to merge 1 commit into from

Conversation

richardlau
Copy link
Member

This reverts commit 2b24ffa.

Fixes: #27819

I've no idea how to test this as piping the output suppresses the ANSI escape sequences.

cc @joyeecheung

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot
Copy link
Collaborator

@richardlau richardlau added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 22, 2019
@Fishrock123
Copy link
Contributor

@richardlau Do the escape sequences work to a pseudo-tty? Can it be put in those tests?

@richardlau richardlau added the lib / src Issues and PRs related to general changes in the lib or src directory. label May 22, 2019
@richardlau
Copy link
Member Author

@richardlau Do the escape sequences work to a pseudo-tty? Can it be put in those tests?

I don't know. The bug is with node -p process.versions -- #27320 changed the code so that -p bypassed the console. I'm not sure how the pseudo-tty fits in there.

@nodejs-github-bot
Copy link
Collaborator

@richardlau

This comment has been minimized.

@addaleax
Copy link
Member

Landed in 1a96abe

@addaleax addaleax closed this May 26, 2019
addaleax pushed a commit that referenced this pull request May 26, 2019
This reverts commit 2b24ffa.

Fixes: #27819

PR-URL: #27823
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
targos pushed a commit that referenced this pull request May 28, 2019
This reverts commit 2b24ffa.

Fixes: #27819

PR-URL: #27823
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@targos targos mentioned this pull request Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. lib / src Issues and PRs related to general changes in the lib or src directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

node -p process.verions display issue on Windows Cmd
10 participants