ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruchira Amarasinghe <ruch...@beyondm.net>
Subject Re: How to exec a command in a new window?
Date Thu, 01 Aug 2002 03:00:49 GMT
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:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>
>
>  
>




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


Mime
View raw message