Video about how to call an external program using a python script and retrieve the program output & return code/exit status.
Sorry, your browser doesn't support HTML5 video.