commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DAEMON-216) Add command line switch to hide console window when switch "--type interactive" is used.
Date Mon, 07 Nov 2011 15:56:52 GMT

     [ https://issues.apache.org/jira/browse/DAEMON-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mladen Turk resolved DAEMON-216.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.8

Fixed in the trunk.
AllocConsole is now followed by ShowWindow(GetConsoleWindow(), SW_HIDE)
This will cause invisible console window which shouldn't be displayed from the service anyhow.
Not because its ugly, but because user can hit CTRL+C and close the service
                
> Add command line switch to hide console window when switch "--type interactive" is used.
> ----------------------------------------------------------------------------------------
>
>                 Key: DAEMON-216
>                 URL: https://issues.apache.org/jira/browse/DAEMON-216
>             Project: Commons Daemon
>          Issue Type: New Feature
>          Components: Procrun
>         Environment: windows family
>            Reporter: Kurt Järmann
>            Priority: Minor
>             Fix For: 1.0.8
>
>
> I have a Java Service and it is creating a tasktray. This only works with the switch
"--type interactive" but its creating a not needed console window to fetch user input.
> I wish a switch to hide the unwanted window.
> Thank you for your efforts.
> Kurt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message