« Return to Thread: Problem with Javadoc task

Re: launching cmd from ANt

by Steve Loughran :: Rate this Message:

Reply to Author | View in Thread

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@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Problem with Javadoc task

LightInTheBox - Buy quality products at wholesale price