private String getSubsystem ( final CommandLineLinkerConfiguration linkerConfig ) { String subsystem = "0" ; final String [ ] args = linkerConfig . getPreArguments ( ) ; for ( final String arg : args ) { if ( "/SUBSYSTEM:CONSOLE" . equals ( arg ) ) { subsystem = "1" ; } if ( "/SUBSYSTEM:WINDOWS" . equals ( arg ) ) { subsystem = "2" ; } if ( "/SUBSYSTEM:WINDOWSCE" . equals ( arg ) ) { subsystem = "9" ; } } return subsystem ; }
Get value of Subsystem property .