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

compile flag to prevent terminal window when launching single file exe #15206

Closed
sensiblearts opened this issue Nov 17, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@sensiblearts
Copy link

What is the problem this feature would solve?

When you create a single file exe on windows, e.g., with

bun build ./index.ts --compile --outfile myexe

and then double-click on the exe, a terminal window is opened.

What is the feature you are proposing to solve the problem?

In a zig program for Windows, you can prevent this terminal by adding to your build.zig file:

   exe.subsystem = .Windows;

It would be great if you could do something like:

bun build ./index.ts --compile --exe_subsystem_windows --outfile myexe

to avoid the terminal window.

What alternatives have you considered?

No response

@sensiblearts sensiblearts added the enhancement New feature or request label Nov 17, 2024
@pfgithub
Copy link
Contributor

Tracked in #13084, follow that issue for updates

@pfgithub pfgithub closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants