Skip to content

Commit

Permalink
core: Execute PowerShell scripts even with spaces in dir [GH-3100]
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Mar 13, 2014
1 parent 56dd0e8 commit 621369e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/vagrant/util/powershell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def self.execute(path, *args, **opts, &block)
"powershell",
"-NoProfile",
"-ExecutionPolicy", "Bypass",
path,
"'#{path}'",
args
].flatten

Expand Down

0 comments on commit 621369e

Please sign in to comment.