ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: AW: how to get a process id from a spawned task?
Date Mon, 11 Jun 2007 09:25:14 GMT
arijit wrote:
> I was hoping not to use any 3rd party tool but maybe something via ANT tasks
> or Java calls. One of the similar threads mentioned about 'jps' but could
> not get it working. Keeping it generic so that it can be used not only for
> windows will be a good approach.
> 


well, the fact that even in java5 there's nothing in the Java APIs to 
give you the process ID of a started process is going to make it hard. 
If someone knew how JPS worked (i.e. there was an official Java 
interfact to whatever native lib is doing the heavy lifting, life would 
be simpler

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message