Try something like,

        <exec os="Windows 2000" dir="c:/java/" executable="cmd.exe">
            <arg line="/c start setup.bat"/>
        </exec>

The 'start' opens a new window. But ant won't exit until all windows 
created are closed.

Ruchira

Milind Nirgun wrote:

>I am trying to start a command line script (.bat file) using an exec task. It works 
>properly but runs in the same window. Is there a way to fork a new window?
>
>-Milind
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
>  
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to