ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coonay <>
Subject core Task 'exec' start Invalid switch - /B
Date Fri, 08 May 2009 05:40:53 GMT

<target name="exec">      
      <echo message="PSEXEC is running..."/>
	  <exec executable="start">	 	   
		<arg line="/WAIT /B"/>        		
                <arg value="psexec"/>
                <arg line=" \\${RHOST} -u ${USER} -p ${PASSWORD} ${CMD}

/B is a valid switch for start ,but there is error using ant exec task,why
is that ?

BTW ,I want to redictor the info to a file 
<arg line=" \\${RHOST} -u ${USER} -p ${PASSWORD} ${CMD} ${ARG} >rd.log

the & is not permited there,how can i do that ?


----- http:coonay 
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message