def METHOD_NAME(cmd1, cmd2):
    try:
        rc, result = getstatusoutput_noshell_pipe(cmd1, cmd2)
        if rc != [0, 0]:
            raise RuntimeError("Failed to execute command {} {}, return code {}, {}".format(cmd1, cmd2, rc, result))
    except OSError as e:
        raise RuntimeError("Failed to execute command {} {} due to {}".format(cmd1, cmd2, repr(e)))
    return result