From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19670 invoked by alias); 5 Mar 2004 08:32:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 19645 invoked from network); 5 Mar 2004 08:32:52 -0000 Received: from unknown (HELO smtp1.utdallas.edu) (129.110.10.12) by sources.redhat.com with SMTP; 5 Mar 2004 08:32:52 -0000 Received: from sbcglobal.net (adsl-64-108-192-44.dsl.chcgil.ameritech.net [64.108.192.44]) by smtp1.utdallas.edu (Postfix) with ESMTP id 8C741388CD0 for ; Fri, 5 Mar 2004 02:32:51 -0600 (CST) Message-ID: <40483B33.70909@sbcglobal.net> Date: Fri, 05 Mar 2004 10:19:00 -0000 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@cygwin.com Subject: Re: [ANNOUNCEMENT] New package: setsid-0.0-3 References: <20030918211941.5BAE432A822@redhat.com> <000401c40171$188b4890$03c5a8c0@lap> <20040304140734.GD13687@cygbert.vinschen.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 X-SW-Source: 2004-03/txt/msg00271.txt.bz2 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/