title: How to run consecutively several .exe\.bat files in apach ANT, waiting for the end of the previous?
body: <p>How to run consecutively several .exe.bat files in apach ANT, waiting for the end of the previous?</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;exec executable="d:/setup.exe"&gt;
              &lt;arg line="-silent -responseFile db_install.rsp"/&gt;
          &lt;/exec&gt;
          &lt;exec executable="c:\netca.bat"&gt;
              &lt;arg line="-silent -responseFile d:/netca.rsp}"/&gt;
          &lt;/exec&gt;
          &lt;exec executable="c:\dbca.bat"&gt;
              &lt;arg line="-silent -responseFile d:/dbca.rsp"/&gt;
          &lt;/exec&gt;
  </code></pre>