This also looks like a job for subprocess.check_call.  ;-)