Coding style.
- Using subprocess.run
This commit is contained in:
parent
5715ab8ea9
commit
320670bb43
6 changed files with 16 additions and 13 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue