示例#1
0
def run(arglist):
    try:
        ret = subprocess.call(arglist)
    except KeyboardInterrupt:
        sys.exit()
    else:
        return ret
def run(arglist):
    try:
        ret = subprocess.call(arglist)
    except KeyboardInterrupt:
        sys.exit()
    else:
        return ret