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

PR: Change default behavior of --show-console option #5635

Merged
merged 2 commits into from
Nov 3, 2017

Conversation

rlaverde
Copy link
Member

@rlaverde rlaverde commented Nov 1, 2017

Fixes: #5495

  • Deprecate --show-console
  • Add hide console cli parameter

- Deprecate --show-console
- Add hide console cli parameter
@rlaverde rlaverde added this to the v3.2.5 milestone Nov 1, 2017
@rlaverde rlaverde self-assigned this Nov 1, 2017
@rlaverde rlaverde requested a review from ccordoba12 November 1, 2017 17:28
@ccordoba12 ccordoba12 changed the title PR: Change default behavior to show console (windows) PR: Change default behavior of --show-console option Nov 1, 2017
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 "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do -> does

@ccordoba12
Copy link
Member

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")
Copy link
Member

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...

Copy link
Member Author

@rlaverde rlaverde Nov 2, 2017

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

Copy link
Member

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!

Copy link
Member

@ccordoba12 ccordoba12 left a 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!

@ccordoba12 ccordoba12 merged commit 98df9e9 into spyder-ide:3.x Nov 3, 2017
ccordoba12 added a commit that referenced this pull request Nov 3, 2017
@rlaverde rlaverde deleted the hide-console branch November 3, 2017 13:50
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

Successfully merging this pull request may close these issues.

2 participants