setsid() does not call FreeConsole() even if all files are closed

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Nov 14 04:15:00 GMT 2005


On Sun, Nov 13, 2005 at 11:52:23PM +0100, Christian Franke wrote:
>Igor Pechtchanski wrote:
>
>>[...]
>>
>>Yep, so, as CGF noted, try
>>
>>$ /usr/sbin/syslogd >/dev/null 2>&1 </dev/null
>>$ exit
>
>
>That makes no difference. Shell exits but console window persists (at 
>least on XP SP2) until syslogd is terminated.
>
>Did you get a different result?

No, you're right.  I must have been hallucinating because I can't duplicate
the result that I thought I saw previously.  Reading the rest of the strace
was instructive and I see what the problem is now.

I hope to produce a fix soon.  Sorry for the misinformation.

cgf

--
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/



More information about the Cygwin mailing list