ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Limor <li...@evolven.com>
Subject Re: Psexec and ant
Date Tue, 15 Jun 2010 05:55:16 GMT

Thank you  both (Michael &Daniel).Although I already tried the cmd withe \k I
will try it again, and I will try the Michael's solution and I will let knew
what happens
I bothe are the BEAST!!!!
Thanks 
Limor

Michael Ludwig-6 wrote:
> 
> Daniel Blaukopf schrieb am 09.06.2010 um 18:56 (+0300):
>> Since psexec.exe expects to be run from a command shell, you might get
>> better results running "cmd /c psexec.exe \\172..." from Ant.
> 
> But it's not always required to include cmd.exe. This works fine:
> 
>           \,,,/
>           (o o)
> ------oOOo-(_)-oOOo------
> <project default="netstat">
> 
>   <target name="netstat">
>     <exec executable="netstat.exe">
>       <arg value="/ano" />
>       <arg value="/p" />
>       <arg value="tcp" />
>     </exec>
>   </target>
> 
>   <target name="ipconfig">
>     <exec executable="ipconfig.exe">
>       <arg value="/all" />
>     </exec>
>   </target>
> 
> </project>
> 
> -- 
> Michael Ludwig
> 
> ---------------------------------------------------------------------
> 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://old.nabble.com/Psexec-and-ant-tp28827734p28887450.html
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