The Python manual says nothing about whether os.system("cmd") waits or not for a process to end:
To quote the manual:
Execute the command (a string) in a subshell.
It looks like it does wait (same behaviour as Perl’s system). Is this correct?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes it does. The return value of the call is the exit code of the subprocess.