You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Mladen Turk <mt...@apache.org> on 2014/04/05 11:40:19 UTC

Re: [daemon]

On 03/25/2014 04:25 PM, Freddie wrote:
>
>> Depending what your thread does. Does it require some user input, access to
> some resource.
>
> Yes it starts a server when started from the parameters given when I created
> the service.
>  From cmd I can send it commands to check that it is running, the command that
> causes it to hang though will create a new thread then execute a series of
> bat files until told to stop.
>

Well if it requires any user interaction that won't work and can cause
hang (waiting on user input) because services since Windows Vista run
in Session 0, and prevent direct user interaction. The only way you can
communicate to a service is by using some IPC mechanism.


Regards
-- 
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org