Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 30541 invoked from network); 4 May 2010 20:58:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 20:58:25 -0000 Received: (qmail 63920 invoked by uid 500); 4 May 2010 20:58:25 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 63887 invoked by uid 500); 4 May 2010 20:58:25 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 63880 invoked by uid 99); 4 May 2010 20:58:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 20:58:25 +0000 X-ASF-Spam-Status: No, hits=-1866.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 20:58:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DABF523888DD; Tue, 4 May 2010 20:57:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r941040 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/BastardChildReaper.groovy Date: Tue, 04 May 2010 20:57:34 -0000 To: scm@geronimo.apache.org From: jawarner@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100504205734.DABF523888DD@eris.apache.org> Author: jawarner Date: Tue May 4 20:57:34 2010 New Revision: 941040 URL: http://svn.apache.org/viewvc?rev=941040&view=rev Log: Reverting previous change since it didn't work and added log statement to gain more info Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/BastardChildReaper.groovy Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/BastardChildReaper.groovy URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/BastardChildReaper.groovy?rev=941040&r1=941039&r2=941040&view=diff ============================================================================== --- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/BastardChildReaper.groovy (original) +++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/BastardChildReaper.groovy Tue May 4 20:57:34 2010 @@ -95,6 +95,8 @@ class BastardChildReaper extends LogSupp if (it.PPID == pid) { list << it + log.info "Added process to the list of children: $it" + // Include children's children if any def l = children(procs, it.PID) if (l) { @@ -129,7 +131,7 @@ class BastardChildReaper extends LogSupp def reap() { log.info 'Checking for bastard children...' - String pid = ShellExecutor.execute('$(sh -c \'echo $PPID\')') + String pid = ShellExecutor.execute('echo $PPID') log.info "Reaping bastard children of $pid"