def METHOD_NAME(command_str, newline_split=False):
    result = subprocess.Popen(command_str, shell=True, stdout=subprocess.PIPE)
    out, err = result.communicate()
    if (newline_split):
        res = out.decode("utf-8").split('\n')
        res = res[:-1]
        return res
    else:
        return out.decode("utf-8").split("\n")[0]