Hi, On Wed, Nov 11, 2015 at 02:46:10PM -0500, Selva Nair wrote: > > With nssm, the console is shared with nssm, so ctrl-C is delivered as > > a signal. I'll send a patch handling both cases. > > The patch is in the next email. > > Handling the key-board input is easy, but making the callback interrupt the > event loop > looks tricky. I am not well versed with the event handling in the code, so > opted to generate a key-pressed event. If there is a better way please > suggest.
Arne might have an idea here... I do not understand the event handling
that well either.
[..]
> Tested on windows 7 with cmd-line use and start/stop with nssm. For nssm, the
> default
> delay after ctrl-C is 1500 msec which is not enough for the process to exit
> if exit-notify
> is being used. About 1 second per extit notify trials + an extra 1 second is
> suggested.
So this would be something for Samuli to adjust when setting up NSSM? Like,
2500 ms?
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
