hashicorp/vagrant · error

${data}

Error message

${data}

What it means

Error "${data}" thrown in hashicorp/vagrant.

Source

Thrown at plugins/pushes/local-exec/push.rb:83

      def quote_and_escape(text, quote = '"')
        "#{quote}#{text.gsub(/#{quote}/) { |m| "#{m}\\#{m}#{m}" }}#{quote}"
      end

      # Run the command as exec (unix).
      def execute_exec!(*cmd)
        @@logger.debug("executing command via exec: #{cmd.inspect}")
        Vagrant::Util::SafeExec.exec(cmd[0], *cmd[1..-1])
      end

      # Run the command as a subprocess (windows).
      def execute_subprocess!(*cmd)
        @@logger.debug("executing command via subprocess: #{cmd.inspect}")
        cmd = cmd.dup << { notify: [:stdout, :stderr] }
        result = Vagrant::Util::Subprocess.execute(*cmd) do |type, data|
          if type == :stdout
            @env.ui.info(data, new_line: false)
          elsif type == :stderr
            @env.ui.warn(data, new_line: false)
          end
        end

        Kernel.exit(result.exit_code)
      end
    end
  end
end

View on GitHub (pinned to 35f3160f4a)

When it happens

Trigger: Thrown at plugins/pushes/local-exec/push.rb:83 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of hashicorp/vagrant@35f3160f4a (2026-08-21). Data as JSON: /api/errors/57e8daeffa8a3a91. Report an issue: GitHub.