title: Jenkins does not execute batch scripts called through ant
body: <p>Through jenkins the ant file build.xml is invoked with default target. The ant task invokes a batch file which launches a new window and after execution my ant unit tests are executed.</p>
  
  <pre><code>&lt;exec dir="${baseLoc}/Temp/${ant.project.name}/@{testdata}" executable="cmd" vmlauncher="false"&gt;
              &lt;env key="WAHL" value="@{option}"/&gt;
              &lt;arg line="/c "/&gt;
          &lt;arg value="start /wait __Make.bat"/&gt; 
  
  &lt;/exec&gt;
  </code></pre>
  
  <p>The problem is jenkins fails to launch the batch script. Any reason for this ?
  Note: The same stuff gets executed through ANT.</p>