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 Message-ID: <40483B33.70909@sbcglobal.net> Date: Fri, 05 Mar 2004 02:32:51 -0600 From: Gregory Borota User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] New package: setsid-0.0-3 References: <20030918211941 DOT 5BAE432A822 AT redhat DOT com> <000401c40171$188b4890$03c5a8c0 AT lap> <20040304140734 DOT GD13687 AT cygbert DOT vinschen DOT de> In-Reply-To: <20040304140734.GD13687@cygbert.vinschen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Corinna wrote on 3/4/2004 8:07 AM: > On Mar 3 16:44, Gregory Borota wrote: > >>(I don't see the point for having stderr and stdout redirected also. (for >>symmetry maybe)) > > > In theory, redirecting all descriptors attached to the console window > should allow to close the console window since when the last open > handle is closed, Cygwin calls FreeConsole(). It's just that I don't > know currently why it doesn't close the console. > > Corinna If setsid is run inside a Windows console it works as described in the readme file. But when run from a cygwin console it won't let you close the console window only after the command has finished. This behavior is under my XP Prof. Greg -- 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/