|
@@ -8,7 +8,7 @@ def system(cmd): |
|
|
raise Exception(f"Command failed with error {result.returncode}: {cmd}") |
|
|
raise Exception(f"Command failed with error {result.returncode}: {cmd}") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def system(cmd): |
|
|
|
|
|
|
|
|
def run(cmd): |
|
|
print(cmd) |
|
|
print(cmd) |
|
|
result = subprocess.run(cmd, shell=True, stdout=subprocess.PIPE) |
|
|
result = subprocess.run(cmd, shell=True, stdout=subprocess.PIPE) |
|
|
if result.returncode != 0: |
|
|
if result.returncode != 0: |
|
|