geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jawar...@apache.org
Subject svn commit: r941002 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/BastardChildReaper.groovy
Date Tue, 04 May 2010 19:09:26 GMT
Author: jawarner
Date: Tue May  4 19:09:25 2010
New Revision: 941002

URL: http://svn.apache.org/viewvc?rev=941002&view=rev
Log:
Trying to fix our PID assignment

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=941002&r1=941001&r2=941002&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 19:09:25 2010
@@ -129,7 +129,7 @@ class BastardChildReaper extends LogSupp
     def reap() {
         log.info 'Checking for bastard children...'
         
-        String pid = ShellExecutor.execute('echo $PPID')
+        String pid = ShellExecutor.execute('$(sh -c \'echo $PPID\'')
         
         log.info "Reaping bastard children of $pid"
         



Mime
View raw message