Coding style.

- Using subprocess.run
This commit is contained in:
Andrew Hamilton 2018-03-24 16:34:49 +10:00
parent 5715ab8ea9
commit 320670bb43
6 changed files with 16 additions and 13 deletions

View file

@ -14,7 +14,7 @@ VIGIL_PATH = os.path.realpath(os.path.dirname(__file__))
def cmd(command):
subprocess.check_call(command, shell=True)
subprocess.run(command, shell=True, check=True)
def mount_squashfs_iso(iso, squashfs_path, mount_point):