From c555e4b72fafb1af44313a7c840abfbc1b6cff65 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 17 Mar 2017 10:09:52 -0700 Subject: [PATCH] Remove subprocess command string re-encoding to default external --- lib/vagrant/util/subprocess.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/vagrant/util/subprocess.rb b/lib/vagrant/util/subprocess.rb index fdaf3564e..7efb1a436 100644 --- a/lib/vagrant/util/subprocess.rb +++ b/lib/vagrant/util/subprocess.rb @@ -25,7 +25,6 @@ module Vagrant def initialize(*command) @options = command.last.is_a?(Hash) ? command.pop : {} @command = command.dup - @command = @command.map { |s| s.encode(Encoding.default_external) } @command[0] = Which.which(@command[0]) if !File.file?(@command[0]) if !@command[0] raise Errors::CommandUnavailableWindows, file: command[0] if Platform.windows?