title: Python subprocess.call not waiting for process to finish blender
body: <p>I have a python script in blender where it has</p>
  
  <p><code>subprocess.call(os.path.abspath('D:/Test/run-my-script.sh'),shell=True)</code> </p>
  
  <p>followed by many other code which depends on this shell script to finish. What happens is that it doesn't wait for it to finish, I don't know why? I even tried using <code>Popen</code>   instead of <code>call</code> as shown:</p>
  
  <pre><code>p1 = subprocess.Popen(os.path.abspath('D:/Test/run-my-script.sh'),shell=True)
  p1.wait()
  </code></pre>
  
  <p>and I tried using commuincate but it still didn't work:</p>
  
  <pre><code>p1 = subprocess.Popen(os.path.abspath('D:/Test/run-my-script.sh'),shell=True).communicate()
  </code></pre>
  
  <p>this shell script works great on MacOS (after changing paths) and waits when using <code>subprocess.call(['sh', '/userA/Test/run-my-script.sh'])</code></p>
  
  <p>but on Windows this is what happens, I run the below python script in Blender then once it gets to the subprocess line <code>Git bash</code> is opened and runs the shell script while blender doesn't wait for it to finish it just prints <code>Hello</code> in its console without waiting for the Git Bash to finish. Any help?</p>
  
  <pre><code>import bpy
  import subprocess
  subprocess.call(os.path.abspath('D:/Test/run-my-script.sh'),shell=True)
  print('Hello')
  </code></pre>