Formal Review of std.process
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Sat Apr 6 11:18:22 PDT 2013
On Saturday, 6 April 2013 at 09:13:11 UTC, Lars T. Kyllingstad
wrote:
> I wonder if we should change the name of Config.gui to
> Config.noConsole. It corresponds to the CREATE_NO_WINDOW flag
> in the Windows API, for which the documentation says:
>
> "The process is a console application that is being run without
> a console window. Therefore, the console handle for the
> application is not set. This flag is ignored if the application
> is not a console application [...]"
>
> I know some people don't like negative flags, but in this case
> it seems more precise. It doesn't create a GUI, it prevents
> the creation of a console.
>
> Lars
I think noConsole or suppressConsole is acceptable, with
preference to the latter. It seems to me gui is very
mis-representative of what it is.
More information about the Digitalmars-d
mailing list