Attempt full path to powershell as last resort in WSL
This commit is contained in:
parent
5384c037b7
commit
5357727350
|
@ -27,7 +27,11 @@ module Vagrant
|
|||
@_powershell_executable += ".exe"
|
||||
|
||||
if Which.which(@_powershell_executable).nil?
|
||||
@_powershell_executable = nil
|
||||
@_powershell_executable = "/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe"
|
||||
|
||||
if Which.which(@_powershell_executable).nil?
|
||||
@_powershell_executable = nil
|
||||
end
|
||||
end
|
||||
else
|
||||
@_powershell_executable = nil
|
||||
|
|
Loading…
Reference in New Issue