Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 13 Nov 2005 20:29:05 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: setsid() does not call FreeConsole() even if all files are closed Message-ID: <20051114012905.GA26784@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <4377651F DOT 9050400 AT t-online DOT de> <4377C3A7 DOT 9040703 AT t-online DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4377C3A7.9040703@t-online.de> User-Agent: Mutt/1.5.8i 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 >$ 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/