Hello all,

I have this task:

  <target name="start">
    <exec program="cmd.exe" workingdir="C:\Program Files\Common
Files\Microsoft Shared\DevServer\10.0">
      <arg line="/C" />
      <arg line="START" />
      <arg line="WebDev.WebServer40.EXE /port:2864 " />
      <arg line="/path:c:\webservices" />
    </exec>
  </target>

it successfully starts the devserver (have to stop it first though). The
problem is that nant does not terminate. Nant prints "BUILD SUCCEEDED Total
time: 4.1 seconds." but does not return. What can be wrong?

If I start devserver from cmdline in same way, then control is given back to
cmd-window.

Thanks,
Rasmus
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to