title: Batch script command automatically stops batch script
body: <p>I am experiencing a strange issue with the following batch script run via <code>cmd.exe</code> on Windows:</p>
  
  <pre><code>@echo off
  gradle wrapper
  gradlew build
  pause
  </code></pre>
  
  <p>This batch script only ever executes the first command, i.e. <code>gradle wrapper</code>. After that, the batch script automatically terminates and the command <code>gradlew build</code> is never executed.</p>
  
  <p>Is there any way I can force the batch script so that it cannot be stopped by <code>gradle wrapper</code> and continues its execution normally after <code>gradle wrapper</code> has been called?</p>