https://bugs.winehq.org/show_bug.cgi?id=51740
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Why would that be a blocker?
I can reproduce the issue, but it doesn't seem consistent on Win7 either. When running from CMD, it works as you expect. But when double clicked, it instantly closes again.
Is there a reason you don't use ReadConsoleInput or something like that?