On Fri, 9 Sep 2005, Michael Brian Bentley wrote:

> > You could do me a favour and try the latest Cygwin snapshot 2005-Sep-08
> > from http://www.cygwin.com/snapshots/ It contains a patch which let
> > Cygwin application ignore the LOGOFF event entirely and let the default
> > mechanism deal with it.  I'd be interested if it changes the observed
> > behaviour.  That's plan B from my point of view.
> >
> > Plan C would be to use setsid or nohup plus io-redirection when starting
> > Cygwin apps from the service.  The important fact here is that the
> > Cygwin process must be disconnected from its controlling tty (the console
> > which the service is running in).
>
> We're on it, I'll try to get back to you sometime today with the results.
> Thanks!

A quick note: if you use nohup or setsid, don't forget to redirect *all*
of stdin, stdout, stderr -- otherwise ssh may get a broken pipe/EOF and
quit.
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to