org-binbab/gem-vagrant-wrapper

vagrant-wrapper breaks the command line

Closed this issue · 1 comments

Hello,

Due to the way vagrant-wrapper is passing its arguments to vagrant it is breaking the original command line.
For example vagrant winrm -c 'sh "C:\Program Files\MyBin.exe"' will call vagrant with the following ARGV:

["winrm", "-c", "sh", "C:\Program Files\MyBin.exe"]

Obviously that's not what you want :)

Edit: here is the fix

Some more test cases to be verified:

  • vagrant ssh -c "echo foo"
  • vagrant up --provider=virtualbox