This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Calling RegisterServiceProcess from setsid ?


On Tue, Jun 03, 2003 at 10:47:22PM -0400, Pierre A. Humblet wrote:
>At 10:17 PM 6/3/2003 -0400, Pierre A. Humblet wrote:
>>At 10:03 PM 6/3/2003 -0400, Christopher Faylor wrote:
>>>I like the idea but the problem of not logging out wouldn't be in
>>>the service case as much as the non-service case, would it?
>>
>>I have tried that but it seems to have no effect. 
>>That's easy to test: launch inetd from a shell on 9X (it calls
>>RegisterServiceProcess) and then log off. In my experience it will 
>>launch one of these irritating termination pop-ups. Someone should
>>double check though.
>
>It's more complicated. What I wrote is correct when the shell is
>under rxvt. Otherwise inetd stays alive. Would that mean that
>setsid leaves inetd connected to something when running from 
>rxvt?

I'm not sure what you tried since I wasn't suggesting anything.  I
was just saying that a service would want to stay running after
logoff but every use of setsid is not a service.  However, setsid
would sort of imply that it should be long-running, too.

I don't know what is specific to rxvt.  Maybe it's the @#(&!
pty/FreeConsole stuff.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]