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: executing batch files in separate windows
Date Wed, 20 Jun 2007 14:00:08 GMT

Thanks Steve. Got it working.

Posting the solution for other's reference --

<target name="test">

 <exec executable="cmd" spawn="true">
   <arg line="/c start first.bat"/>
 </exec>
		
 <exec executable="cmd" spawn="true">
   <arg line="/c start second.bat"/>
 </exec>

</target>  


Steve Loughran wrote:
> 
> arijit wrote:
>> Thanks Jan. Unfortunately I am not an expert in ANT. Can you provide some
>> more code to show how I can run the batch files in separate dos prompts ?
>> 
>> 
> 
> do you mean you actually want the windows to pop up? Thats no longer 
> ant, that's windows.
> 
> you need to exec the program "start". Before you start rushing out lots 
> of support emails related to it
> 
> 1. start /? will list the options
> 2. those of us who moved to linux many years ago cannot provide help
> 
> -steve
> 
> ---------------------------------------------------------------------
> 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/executing-batch-files-in-separate-windows-tf3952030.html#a11214005
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