The question already in title - how can one make the python script wait until some process launched with os.system() call is completed ? For example a code like
Use subprocess instead:
subprocess
import subprocess for i in xrange(n): p = subprocess.Popen(('someprog.exe', str(i)) p.wait()
Read more here: http://docs.python.org/library/subprocess.html