anchor.diff:  -define(SERVER, ?MODULE).
   
   -record(state, {
  -          name = undefined :: task_name() | undefined,
  -          schedule :: schedule(),
  -          detail :: detail()
  +          name = undefined :: barile:task_name() | undefined,
  +          schedule :: barile:schedule(),
  +          detail :: barile:detail()
            }).
   
   %%%===================================================================
   %%% API
   %%%===================================================================
  -
  +execute(Cmd) ->
  +    execute_cmd(Cmd).
   
   %%--------------------------------------------------------------------
   %% @doc
  
positive.code: -behaviour(gen_server).
  
  %% API
  -export([start_link/3]).
  
  %% gen_server callbacks
  -export([init/1,
  
negative.code: %%% Internal functions
  %%%===================================================================
  
  execute_cmd(Cmd) ->
      lager:debug("Starting task command: ~ts", [Cmd]),
      try erlang:open_port({spawn, Cmd}, [exit_status, stderr_to_stdout, binary, stream]) of
          Port ->
              loop(Port,<<>>)
  