Compiler Option: -s
Sets the executable subsystem
Syntax
`
-s < subsystem >
`
Parameters
`subsystem`
The executable subsystem: `gui` or `console`.
Description
The `-s` compiler option specifies the executable subsystem. Allowed subsystems are `gui` and `console` (by default, `console` is used). Specifying a `gui` subsystem prevents the console window from appearing behind the program window.
Platform Differences

- Supported in the Windows platform only.

See also

- Using the Command Line