Exemplo n.º 1
0
def run(arglist):
    try:
        ret = subprocess.call(arglist)
    except KeyboardInterrupt:
        sys.exit()
    else:
        return ret
Exemplo n.º 2
0
def run(arglist):
    try:
        ret = subprocess.call(arglist)
    except KeyboardInterrupt:
        sys.exit()
    else:
        return ret