dwm
dwm copied to clipboard
Program doesn't run when compiled with `--no-terminal` on Windows
I was bothered by the fact that when you compile a program with deno compile
on Windows, the resulting executable opens with a cmd
window behind dwm's window. After some searching, I found that a flag was added to compile the executable with the "GUI" subsystem that should prevent a cmd
window from showing.
However, when running an executable compiled with this option, the program doesn't seem to run at all and exits with code 0.
@steveRoll-git have you heard any answers for this?
I'm new to Deno and this is happening to me, too.
Seems to be an issue on Deno's end
It's very strange, because ... the program starts (as checked by SysInternals ProcessMonitor) ... and exits with status 101.
This is on Deno 1.45.2.
But not even the first line of the program seems to execute. (Not even a Deno.exit(2) works.)
with plain deno projects right?
Sorry, what does plain deno project mean?
This is a deno issue, not dwm. You can prove this for yourself with these reproduction steps.
https://github.com/denoland/deno/issues/21091#issuecomment-2401082661
i have the same issue. Tested with an application that uses WebUI and one that uses Webview
Application exits immediately when compiled with --no-terminal deno 2.0.2