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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]