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

fix: create a GUI application on Windows, not Console #2067

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

certik
Copy link
Contributor

@certik certik commented Sep 17, 2024

This prevents an empty console to be opened when we launch this program from Windows Explorer.

Note that this change makes std::cout not work anymore (if launched from a console). This is fixed in a separate PR: #2070.

This prevents an empty console to be opened when we launch this program
from Windows Explorer.
certik added a commit to certik/pixi that referenced this pull request Sep 17, 2024
This makes `std::cout` working again after switching to a GUI
application in prefix-dev#2067. It still
does not open a console when launched from the Windows Explorer, but
when launched from a terminal, it will now print to the terminal again,
as before.
@certik certik changed the title Windows: create a GUI application, not Console fix: create a GUI application on Windows, not Console Sep 17, 2024
@certik
Copy link
Contributor Author

certik commented Sep 17, 2024

I tested on Windows natively (in a shell) and on Linux (in WSL) and it works for me in both.

@ruben-arts ruben-arts merged commit 14116bc into prefix-dev:main Sep 18, 2024
39 of 42 checks passed
@ruben-arts
Copy link
Contributor

Thanks @certik

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.

3 participants