`subprocess.check_call` is the preferred way to do this sort of thing, and has the advantage that you can set the working directory, so you don't need to use `cd` in the command itself.