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 Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 14 Mar 2002 18:18:34 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Cc: Pierre DOT Humblet AT ieee DOT org Subject: Re: Strange exec behavior Message-ID: <20020314231834.GA27377@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, Pierre DOT Humblet AT ieee DOT org References: <3C9105D1 DOT 9463CCAB AT ieee DOT org> <20020314203818 DOT GD28153 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020314203818.GD28153@redhat.com> User-Agent: Mutt/1.3.23.1i On Thu, Mar 14, 2002 at 03:38:18PM -0500, Christopher Faylor wrote: >On Thu, Mar 14, 2002 at 03:19:29PM -0500, Pierre A. Humblet wrote: >>Is this normal? [ please cc: me directly] > >Yes. > >cgf > >>~> ps -W | fgrep /a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >> 506 1 345 430 3 11054 13:49:15 /h/a >>[Incidentally the WINPIDs are reported incorrectly, but that's >> a side issue ] FWIW, I've checked in a fix for the incorrect WINPIDs above. Also, this question has been asked previously in the mailing list. There should be a description in the archives. However if you think about how exec has to work under cygwin it may be obvious why the processes stay around. It's possible to optimize things so that just two processes need to stay around but that would end up adding a fair amount of code for this one situation. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/