X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/KpWdAGID1MxPkoUvq1o8U Date: Fri, 8 Mar 2013 16:39:16 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: exit bug on 1.7.17 ? Message-ID: <20130308213916.GA2813@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5138CB54 DOT 8040805 AT dunslane DOT net> <5138D38D DOT 9080905 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5138D38D.9080905@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Thu, Mar 07, 2013 at 06:51:09PM +0100, marco atzeri wrote: >pg_ctl is broken because it hangs waiting for a child process to finish. >This can be seen with the following test program: > > #include > #include > > main() > { > system("sleep 5 && echo waking&"); > printf("done\n"); > exit(0); > } I'm testing a fix for this now. Thanks for the test case. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple