I have a series of code like below.In test.Bat file contains code,it will terminate after its code completion. Everything is working fine,But When i try to run a python script-it prints finished when the batch file was running
from subprocess import Popen
print "start"
Popen("C:\Users\test.Bat")
print "Finished"
I want to print "Finished" after exceution completion of batch file..How can i achieve that