A Windows GUI and Console Application in One EXE, Revisited
Back in 2013 I wrote a post on making a Windows application work as both a GUI and a console program. The idea was simple: build a Windows-subsystem EXE so that double-clicking it in Windows Explorer doesn't flash an ugly…