
___x_cmd_storecat_(){
    x_=""
    [ "$___X_CMD_SHELL" = zsh ] || {
        x_="$("$@")"
        return
    }

    # In zsh trap exit is local
    local fdir="$___X_CMD_ROOT_TMP/storeex/$$"
    local _exitcode=0
    trap 'command rm -f $fdir' EXIT
    ___x_cmd ensurefp "$fdir"
    "$@" >"$fdir"
    _exitcode="$?"
    # ___x_cmd_rat_ "$fdir"
    x_="$(command cat "$fdir")"

    # "$@" | x_="$(command cat)"  # Don't use ___x_cmd_cmds_cat here. ZSH bug.
    return "$_exitcode"
}
