ESRGAN-MANGA / run_cmd.py
0x90e's picture
Test install pngquant
ec4b0ec
raw
history blame
191 Bytes
from subprocess import call
import sys
def run_cmd(command):
try:
call(command, shell=True)
except KeyboardInterrupt:
print("Process interrupted")
sys.exit(1)