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

[Windows] Attach to parent console instead of creating new one. #41164

Merged
merged 1 commit into from
Aug 11, 2020

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Aug 10, 2020

Another way to approach godotengine/godot-proposals#1341

  • Always compile as GUI app.
  • Remove interface/editor/hide_console_window project setting.
  • Try to attach to the parent app console on start. It will print output to if started from command line, but won't open new console window when started from GUI (shortcut, Explorer, etc.)
  • Toggle Console menu option will create and control new console window if parent's console not attached.

Bugsquad edit: Closes godotengine/godot-proposals#1341.

@akien-mga akien-mga merged commit 0e751ea into godotengine:master Aug 11, 2020
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a SCons option to control whether Godot is built as a console or GUI application on Windows
2 participants