Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 17925 invoked from network); 30 Jan 2008 23:34:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2008 23:34:29 -0000 Received: (qmail 73111 invoked by uid 500); 30 Jan 2008 23:34:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 73070 invoked by uid 500); 30 Jan 2008 23:34:16 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 73059 invoked by uid 99); 30 Jan 2008 23:34:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 15:34:16 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [146.197.27.91] (HELO barrierN241.nike.com) (146.197.27.91) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 23:34:03 +0000 X-Server-Uuid: 210DB49F-4DC6-4896-BC27-D025820D3864 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: sshexec and rexec hung Date: Wed, 30 Jan 2008 15:33:50 -0800 Message-ID: <200801302333.m0UNXtjs013807@barrierN241.nike.com> In-Reply-To: <1f97de60801291923o3905e47au63fb394d8eb239d8@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sshexec and rexec hung Thread-Index: Achi76jTN6nQrT5sTN+6L0aaYwEt1wAqKrtQ References: <1f97de60801291923o3905e47au63fb394d8eb239d8@mail.gmail.com> From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 30 Jan 2008 23:33:50.0661 (UTC) FILETIME=[91751F50:01C86398] X-WSS-ID: 6BBFD6D51K43217752-02-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I think this really depends on what you are executing with your shell script. Do the same scripts hang when you execute outside ant, using rexec or ssh? Try using nohup and be sure to background any processes you start. -Rob A -----Original Message----- From: Z W [mailto:mpc8250@gmail.com]=20 Sent: Tuesday, January 29, 2008 7:24 PM To: Ant Users List Subject: sshexec and rexec hung Hi I've been trying to get my shell scripts to work with rexec and sshexec. My experience seems to indicate to me that both tasks don't seem to hang when executing shell scripts after exporting env variables with . ./profile. Is that everyone's experience or perhaps it's just me. I don't have much success trying to kill the parent process of the on a remote host. My research shows that basically issues sh -c Is there a workaround to get out of the task at the end of shell script execution ? Even exit statement within shell script doesn't solve this. thanks --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org