Replace os.system with subprocess.run so that it's easier to report errors correctly...