ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CP Agrawal">
Subject Help with spawn and cmd
Date Wed, 30 Jun 2004 23:47:59 GMT
I am working on windows xp and trying to make following work:
  <target name="weblogic-start" depends="read-prefs">
     <echo message="${deploy.domain.dir}"/>
     <exec dir="${deploy.domain.dir}" executable="cmd.exe" spawn="true"
os= "Windows XP" vmlauncher="false" newenvironment="true">
	<arg value="startWeblogic"/>

I have tried several combinations of arg value:
<arg value="/c startWeblogic"/>

<arg value="/k startWeblogic"/>

But none of them launch startWeblogic .

Interestingly, when I make spawn="false" and <arg value="/c
startWeblogic"/> it works.

How can I make spawn work?


-- CP

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message