anchor.diff:  
   expand_sh_flag(return_on_error) ->
       {error_handler,
  -     fun(_Command, Rc) ->
  -             {error, Rc}
  +     fun(_Command, Err) ->
  +             {error, Err}
        end};
   expand_sh_flag({abort_on_error, Message}) ->
       {error_handler,
  -     fun(_Command, _Rc) ->
  +     fun(_Command, _Err) ->
                ?ABORT(Message, [])
        end};
   expand_sh_flag(abort_on_error) ->
  
positive.code:     {output_handler,
       fun(Line, Acc) ->
               ?CONSOLE("~s", [Line]),
               [Acc | Line]
       end};
  expand_sh_flag({use_stdout, false}) ->
      {output_handler,
       fun(Line, Acc) ->
               [Acc | Line]
       end};
  expand_sh_flag({cd, _CdArg} = Cd) ->
      {port_settings, Cd};
  
negative.code:     case sh_loop(Port, OutputHandler, []) of
          {ok, _Output} = Ok ->
              Ok;
          {error, Err} ->
              ErrorHandler(Command, Err)
      end.
  
  %% We need a bash shell to execute on windows
  