Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 65095 invoked from network); 28 May 2007 12:20:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2007 12:20:23 -0000 Received: (qmail 74051 invoked by uid 500); 28 May 2007 12:20:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74025 invoked by uid 500); 28 May 2007 12:20:20 -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 73975 invoked by uid 99); 28 May 2007 12:20:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2007 05:20:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dickon.glanville@gmail.com designates 66.249.90.176 as permitted sender) Received: from [66.249.90.176] (HELO ik-out-1112.google.com) (66.249.90.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2007 05:20:13 -0700 Received: by ik-out-1112.google.com with SMTP id c30so730626ika for ; Mon, 28 May 2007 05:19:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pztUxRfgxXWOSjvL9+jsEzo/3eJIgoR11WAuf3Imx//9pckUAKMIco9TG6ZwXKjNAz3BzBApBc75rFnRiWqIxSa1RzeoBvMd1kDwFwCnL+1M/c7MVIlQ82Ya/M7vmNR64i9tEODWqDE2Hz6Y4rJ5l0mLPnGobqZxWx2PFTgAfOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gGEEfzBcCzk2lgtbhXz2vaXHv/P9oJ9JLYvLfFiTPT3h+3Iu5/NVkg9PBVPA8PLtzpZc6SImIRLgjMVlN4vu/cO65/yGKoGyaoKLuPRckpR9ZOOKZ5DZ8uxMEWlCAEfSHW5Qm1dPWhb3YWC7zC+EGtdj0FpHvXLnS8DYFZ+aa4Y= Received: by 10.78.140.17 with SMTP id n17mr1626042hud.1180354792410; Mon, 28 May 2007 05:19:52 -0700 (PDT) Received: by 10.78.18.13 with HTTP; Mon, 28 May 2007 05:19:52 -0700 (PDT) Message-ID: <53bada0f0705280519v7b003505x2c333279ff03c5ec@mail.gmail.com> Date: Mon, 28 May 2007 08:19:52 -0400 From: "Jay Dickon Glanville" To: "Ant User" Subject: how to get a process id from a spawned task? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hello all. Is there a way to get the process id (I'm dealing with a windows system here, but I believe the question could be asked of both windows an UNIX families) of a task that is spawned? I have a java task: and I'd like to be able to echo the process id to the user (so that they can kill the process if they so desire). Is there a convenient way to get the process id? Thanks -- Jay Dickon Glanville --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org