https://issues.dlang.org/show_bug.cgi?id=23312
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Andrej Mitrovic <[email protected]> --- My workaround for this is to use `main()` instead of `WinMain()`. It's still possible to write GUI apps this way, and there will be a console spawned with the app so the stdout/stderr handles are valid this way. Maybe there's a way to spawn a console when using WinMain if one is not detected. Or alternatively it would be nice to be able to set stdout/stderr to a file handle when using WinMain. Not sure if this is already possible. --
