ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: Spawning a java call in a new command shell
Date Fri, 20 May 2005 03:28:34 GMT
Brain is working faster than fingers.... I meant that you will to need 
to add "pause" at the end of your command for the window to remain opened.

- Alexey.

Alexey N. Solofnenko wrote:

> On Windows you can execute 'cmd /c start "Window title" command', on 
> Unix ('pwd' is usually executed on Unix) it can be done by executing 
> "xterm ...". You will also pause at the end, so the window is not closed.
>
> - Alexey.
>
> Brian Kuhn wrote:
>
>> I think this is more of a windows than an ant question;
>>
>> Does anyone know if it's possible to create a new window when spawning
>> a cmd command?  For instance, I'd like to have the following exec task
>> create a new cmd window so I can see the results.  This is an example:
>>
>> <exec executable="cmd" spawn="true" dir="${windows.weblogicDir}">
>>      <arg line="/c pwd"/>
>> </exec>
>>
>> Thanks,
>>     Brian
>>  
>>

-- 
------------------------------------------------------------------------
/ Alexey N. Solofnenko
MDL Information Systems, Inc.
work: 510-357-2222x1726
home: http://trelony.cjb.net/
/

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


Mime
View raw message