ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coonay <coo...@yahoo.com>
Subject Re: <exec> hang up even inputstring=""
Date Fri, 08 May 2009 09:50:03 GMT

D:\workspace\ClientAutomation>java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

D:\workspace\ClientAutomation>ant -version
Apache Ant version 1.7.1 compiled on June 27 2008

coonay wrote:
> 
> the ant will be hang up even the inputstring=""  and timeouted
> 
> 
> <target  name="cmd" >    
>       <echo message="PSEXEC is running..."/>
> 	  <!--
> 	  <exec executable="cmd" dir="." os="Windows_NT" inputstring="">
> 	  -->
> 	  <exec executable="cmd" dir="." inputstring="" timeout="10000">
> 	    <arg value="/c"/>
>         <arg value="radia.bat"/>
>         <arg line="\\${RHOST}  -realtime -u ${USER} -p ${PASSWORD} ${CMD}
> ${ARG}"/>	
>         <env key="RHOST" value="${RHOST}"/>			
>     </exec>	  
> 	    
>   </target> 
> 


-----
http://coonay2010expo.blogspot.com/ http:coonay 
-- 
View this message in context: http://www.nabble.com/%3Cexec%3E-hang-up-even-inputstring%3D%22%22-tp23443019p23443128.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