anchor.diff:                        get_suites(Config, TestDir) ++
                         get_case(Config);
                 SpecFlags ->
  -                  ?FMT("erl " % should we expand ERL_PATH?
  -                       " -noshell -pa ~s ~s"
  +                  ?FMT("~s"
  +                       " -pa ~s"
  +                       " ~s"
                          " ~s"
                          " -logdir \"~s\""
                          " -env TEST_DIR \"~s\""
  -                       " ~s"
  -                       " -s ct_run script_start -s erlang halt",
  -                       [CodePathString,
  +                       " ~s",
  +                       [BaseCmd,
  +                        CodePathString,
                           Include,
                           build_name(Config),
                           LogDir,
  
positive.code:                       ""
                end,
  
      %% Add the code path of the rebar process to the code path. This
      %% includes the dependencies in the code path. The directories
      %% that are part of the root Erlang install are filtered out to
  
negative.code:     CodePathString = string:join(CodeDirs, " "),
      Cmd = case get_ct_specs(Cwd) of
                undefined ->
                    ?FMT("~s"
                         " -pa ~s"
                         " ~s"
                         " ~s"
                         " -logdir \"~s\""
                         " -env TEST_DIR \"~s\""
                         " ~s",
                         [BaseCmd,
                          CodePathString,
                          Include,
                          build_name(Config),
                          LogDir,
  