Backtick-escape the facter env command in powershell. Fixes issue 3958

This commit is contained in:
Ben Hines 2014-06-02 19:37:29 -07:00
parent af436553d3
commit 7d52f0e14d
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ module VagrantPlugins
# If we're on Windows, we need to use the PowerShell style
if windows?
facts.map! { |v| "$env:#{v};" }
facts.map! { |v| "`$env:#{v};" }
end
facter = "#{facts.join(" ")} "