title: batch waiting until script finishes
body: <p>I have the following batch file called <code>controller.bat</code>: </p>
  
  <pre><code>BCDEDIT /bootsequence {db3add28-ed9f-11e2-be67-1c6f65c20c01}
  ECHO "running on WIN8_X86_NES..."
  python C:\performance\test_1.py
  php C:\performance\test_2.php
  ECHO "Waiting for 3 minutes before restarting..."
  PING 1.1.1.1 -n 1 -w 10000 &gt; nul
  SHUTDOWN /r /t 00
  </code></pre>
  
  <p>I execute these two <code>.py</code> and <code>.php</code> test scripts, which execute some performance tests ... after it's done, I want to restart the machine ... However, I want to make sure that both scripts end, otherwise I may run the risk to have the tests started and then the machine restart.
  How do I make sure that the batch script awaits till both scripts are finished before proceeding?
  Will <code>call</code> do it?</p>