Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 83613 invoked from network); 14 Jan 2004 23:58:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Jan 2004 23:58:29 -0000 Received: (qmail 70623 invoked by uid 500); 14 Jan 2004 23:58:04 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 70578 invoked by uid 500); 14 Jan 2004 23:58:04 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 70518 invoked from network); 14 Jan 2004 23:58:04 -0000 Received: from unknown (HELO barrierb241.nike.com) (146.197.27.11) by daedalus.apache.org with SMTP; 14 Jan 2004 23:58:04 -0000 Received: from barrierb241.nike.com (root@localhost) by barrierb241.nike.com with ESMTP id i0ENwBt23472 for ; Wed, 14 Jan 2004 15:58:11 -0800 (PST) Received: from beavertn-svr-r9.nike.com (beavertn-svr-r9.nike.com [146.197.20.109]) by barrierb241.nike.com with ESMTP id i0ENwAV23421 for ; Wed, 14 Jan 2004 15:58:10 -0800 (PST) Received: from 146.197.1.183 by beavertn-svr-n9.nike.com with SMTP ( Tumbleweed MMS SMTP Relay (MMS v5.0)); Wed, 14 Jan 2004 15:58:05 -0800 X-Server-Uuid: F122D6CD-24F0-4253-8986-549FB7942DF9 Received: from beavertn-svr-a0.nike.com (beavertn-svr-a0.nike.com [146.197.251.36]) by cammail1.nike.com (8.11.7p1+Sun/8.11.6) with ESMTP id i0ENw5929920 for ; Wed, 14 Jan 2004 15:58:05 -0800 (PST) Received: from beavertn-svr-b4.nike.com ([146.197.251.242]) by beavertn-svr-a0.nike.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 14 Jan 2004 15:58:05 -0800 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: exec task problem Date: Wed, 14 Jan 2004 15:58:05 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: exec task problem Thread-Index: AcPa8ZWx+cKs4EPrSTmUPaY0DRJRjAACGO9g From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 14 Jan 2004 23:58:05.0583 (UTC) FILETIME=[4087D9F0:01C3DAFA] X-WSS-ID: 6C1B0807736353-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Perhaps a wrapper script would be in order. Write a simple script that = calls both (or however many) scripts in the correct order and use the = spawn feature of the exec task. -Rob Anderson -----Original Message----- From: Rhodes, Phillip C. [mailto:Phillip.Rhodes@alcoa.com] Sent: Wednesday, January 14, 2004 2:55 PM To: user@ant.apache.org Subject: exec task problem I am using the ant exec task that is calling a unix script. Using ant 1.5, the unix script gets to a point where it trys to start a = program and my ant script just hangs... The script command looks like: (please notice the ampersand) ./startssomeprogram& I have also tried using ant 1.6 with the spawn=3D"true" attribute on the = exec task. The script just returns immediately and I don't get any feedback. I do = not want the following unix script to start until the previous unix = script has returned from processing. It appears that I can not use = spawn for this reason. Any ideas on how to get my script to return control back to ant, without = using the spawn feature? Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org