ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: launching cmd from ANt
Date Wed, 02 Apr 2008 13:34:12 GMT
Bourzeix wrote:
> Hello,
> 
> How I can from an ant script running an independant dos command? 
> 
> 		<exec executable="cmd" dir="${wl.domain.path}" newenvironment="false">
> 			<arg line="/c start startWebLogic.cmd"/>
> 		</exec>
> 
> 
> this antlet wait for the exit of cmd.exe to return back to ant processing
> 

spawn="true". but you lose all output from the command line


-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message