ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Open new command window for ANT task
Date Sun, 30 May 2004 14:53:14 GMT
> From: Robert Mark Bram [mailto:relaxedrob@optusnet.com.au]
> 
> I am trying to write an Ant task capable of opening a new command window..
>        Runtime.getRuntime( ) .exec ( new String [] {"start", "cmd"});

Check out the FAQ... You don't need a task for that, just <exec>.

Runtime.exec needs an executable (cmd.exe).
Start is a command of that executable. --DD

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


Mime
View raw message