plugins/providers/virtualbox/driver/base.rb in vagrant-unbundled-2.3.2.0 vs plugins/providers/virtualbox/driver/base.rb in vagrant-unbundled-2.3.3.0
- old
+ new
@@ -458,10 +458,12 @@
# and locks.
Thread.new { @logger.info("Interrupted.") }.join
end
# Append in the options for subprocess
- command << { notify: [:stdout, :stderr] }
+ # NOTE: We include the LANG env var set to C to prevent command output
+ # from being localized
+ command << { notify: [:stdout, :stderr], env: {LANG: "C"}}
Vagrant::Util::Busy.busy(int_callback) do
Vagrant::Util::Subprocess.execute(@vboxmanage_path, *command, &block)
end
rescue Vagrant::Util::Subprocess::LaunchError => e