ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arijit <ghosh.ari...@wipro.com>
Subject Re: AW: how to get a process id from a spawned task?
Date Mon, 11 Jun 2007 08:41:03 GMT

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.



Gilbert Rebhan wrote:
> 
> Hi,
> 
> 
> arijit wrote:
>> I was thinking more of listing the current running processes in windows
>> and
>> then killing one of them.
> 
> if you're runnning on windows maybe you can go via <exec> combined with 
> PSKILL which is part of the PTOOLS suite, formerly Sysinternals now 
> under the hood of Mystersoft =
> 
> http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/PsTools.mspx
> http://www.microsoft.com/technet/sysinternals/utilities/pskill.mspx
> 
> " kill processes by name or process ID "
> 
> never tried it myself, give it a shot.
> 
> 
> Regards, Gilbert
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-get-a-process-id-from-a-spawned-task--tf3827737.html#a11056881
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message