core: Execute PowerShell scripts even with spaces in dir [GH-3100]

This commit is contained in:
Mitchell Hashimoto 2014-03-12 19:49:45 -07:00
parent 56dd0e8531
commit 621369ebba
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ BUG FIXES:
- core: Asking for input works even in consoles that don't support
hiding input. [GH-3119]
- core: Adding a box by path in Cygwin on Windos works. [GH-3132]
- core: PowerShell scripts work when they're in a directory with
spaces. [GH-3100]
- guests/darwin: Fix an exception when configuring networks. [GH-3143]
- hosts/linux: Unusual sed delimiter to avoid conflicts. [GH-3167]
- providers/virtualbox: Make more internal interactions with VBoxManage

View File

@ -21,7 +21,7 @@ module Vagrant
"powershell",
"-NoProfile",
"-ExecutionPolicy", "Bypass",
path,
"'#{path}'",
args
].flatten