Formal Review of std.process
Vladimir Panteleev
vladimir at thecybershadow.net
Sat Apr 6 08:38:14 PDT 2013
On Saturday, 6 April 2013 at 15:26:01 UTC, Steven Schveighoffer
wrote:
> The origin of the name 'gui' is from when one wanted to start a
> windows GUI application from another windows GUI application,
> and you did it without this flag, it would pop up an annoying
> console window. So you can read it as "I'm starting a GUI
> application"
When is this true?
> If we could, I'd fix Windows so the process you were starting
> made the determination of whether it should start a console or
> not, that makes more sense to me.
Um, that's exactly how it works. There is a value in the PE
header which determines this. The corresponding linker flag is
/SUBSYSTEM:WINDOWS for a GUI program or /SUBSYSTEM:CONSOLE for a
console program.
The flag specifies that you want to run a console application,
but want to suppress its console window.
More information about the Digitalmars-d
mailing list