mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
parent
61c556ff90
commit
82e268a3e2
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ module VagrantPlugins
|
|||
# CLIXML output is kinda useless, especially on non-windows hosts
|
||||
shell_args += " -OutputFormat Text" if config.powershell_args !~ /[-\/]OutputFormat/i
|
||||
|
||||
command = "#{exec_path}#{args}"
|
||||
command = "\"#{exec_path}\"#{args}"
|
||||
command = "powershell #{shell_args.to_s} -file #{command}" if
|
||||
File.extname(exec_path).downcase == '.ps1'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue