ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Dickon Glanville" <dickon.glanvi...@gmail.com>
Subject how to get a process id from a spawned task?
Date Mon, 28 May 2007 12:19:52 GMT
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:
  <java spawn="true" ... />
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


Mime
View raw message