XWinrc configurable server (menus/icons)

Christopher Faylor cgf@redhat.com
Thu Aug 7 03:00:00 GMT 2003


On Wed, Aug 06, 2003 at 07:24:32PM -0700, Earle F. Philhower III wrote:
>Howdy Christopher...
>
>At 09:57 PM 8/6/2003 -0400, you wrote:
>>>a) Closes all fds on the fork()'d process
>>It *may* be helpful to call setsid() at this point, after you've closed
>>the file descriptors.
>
>I'm not really up on cygwin's process model, what would the setsid() call
>do?  I have read the man page and I'm still not sure what's a session ID or
>why I'd want a new one...

It would disassociate a tty from any child process.  It's often done
after file descriptors have been closed.

I don't know for sure that it will help anything but it may stop the
console windows from popping up -- at least in cygwin 1.5.x.

cgf



More information about the Cygwin-xfree mailing list