def METHOD_NAME(cmd):
    res_lines = []
    res = external_tools.run(cmd)
    while True:
        line = res.stdout.readline().decode('ascii')
        if not line:
            break
        res_lines.append(line.strip())
    return res_lines