title: Issue starting Tomcat 7.0.x from ANT in Windows 2008
body: <p>I am getting stuck trying to start Tomcat 7.0.x server from ANT in Windows 2008 R2.</p>
  
  <p>This is the code I am using:</p>
  
  <pre><code>&lt;exec executable="cmd.exe" spawn="true"&gt;
    &lt;env key="CATALINA_HOME" value="${tomcat.home}" /&gt;
    &lt;arg line="/C '${tomcat.home}/bin/startup.bat'"/&gt;
  &lt;/exec&gt;
  </code></pre>
  
  <p>The issue is that although I use spawn set to true, and /C parameter when invoking cmd.exe my build get hanged and never finishes until I stop Tomcat.</p>
  
  <p>Do you know the reason? I have seen many posts here in stackoverflow with similar code that theoretically works fine. Other posts use bash instead of cmd, but as far as I know bash is only in Unix world.</p>
  
  <p>Any help?</p>
  
  <p>Thanks a lot,</p>
  
  <p>Chemi.</p>