-module(go_over@util@util). -compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]). -export([retry_cmd/2]). -file("/home/bwireman/src/go-over/src/go_over/util/util.gleam", 4). -spec retry_cmd(binary(), list(binary())) -> {ok, binary()} | {error, {integer(), binary()}}. retry_cmd(Cmd, Args) -> _pipe = delay:delay_effect( fun() -> shellout:command(Cmd, Args, <<"."/utf8>>, []) end ), _pipe@1 = delay:retry_with_backoff(_pipe, 3), delay:run(_pipe@1).