subprocess.check_call suits better here