Skip to content

Commit

Permalink
Escape spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-null committed Nov 17, 2017
1 parent 176f4ab commit be78dfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WebPI.PS.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function Get-CurrentModulePath () {
function Invoke-WebPI () {
$CurrentModulePath = Get-CurrentModulePath
$arguments = $args -join ' '
$CurrentModulePath = $CurrentModulePath.Replace(" ", "^ ")
cmd /c "$CurrentModulePath\webpi\WebpiCmd.exe $arguments"
}

Expand Down

0 comments on commit be78dfd

Please sign in to comment.