Remove subprocess command string re-encoding to default external

This commit is contained in:
Chris Roberts 2017-03-17 10:09:52 -07:00
parent 2a8b3f40ac
commit c555e4b72f
1 changed files with 0 additions and 1 deletions

View File

@ -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?