-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Change default behavior of --show-console option #5635
Conversation
- Deprecate --show-console - Add hide console cli parameter
bootstrap.py
Outdated
print("0x. Enforcing parent console (Windows only)") | ||
sys.argv.append("--show-console") # Windows only: show parent console | ||
if options.show_console: | ||
print("(Deprecated) --show console do nothing, now the default behavior " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do -> does
Nice! I left a minor comment, then I'll merge. |
if options.show_console: | ||
print("(Deprecated) --show console does nothing, now the default " | ||
" behavior is to show the console, use --hide-console if you " | ||
"want to hide it") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where this print
is printed? I'd say is not necessary...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's printed in the console where spyder --show-console
is executed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thanks for the clarification!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this one @rlaverde!
Fixes: #5495