Both subprocess.call
and os.system
are blocking calls. This means that when you call either of them, your script pauses until the program you called exits.
If you want your Python script to continue executing immediately, you may want to look into subprocess.Popen
which is non-blocking and takes pretty much the same arguments subprocess.call
takes