diff --git a/src/arduino.cc/builder/ctags_runner.go b/src/arduino.cc/builder/ctags_runner.go index 2ab75638..b9833082 100644 --- a/src/arduino.cc/builder/ctags_runner.go +++ b/src/arduino.cc/builder/ctags_runner.go @@ -30,8 +30,6 @@ package builder import ( - "fmt" - "arduino.cc/builder/constants" "arduino.cc/builder/ctags" "arduino.cc/builder/i18n" @@ -61,12 +59,7 @@ func (s *CTagsRunner) Run(ctx *types.Context) error { return i18n.WrapError(err) } - verbose := ctx.Verbose - if verbose { - fmt.Println(commandLine) - } - - sourceBytes, err := command.Output() + sourceBytes, _, err := utils.ExecCommand(ctx, command, /* stdout */ utils.Capture, /* stderr */ utils.Ignore) if err != nil { return i18n.WrapError(err) }