Skip to content

Commit be78dfd

Browse files
committed
Escape spaces
1 parent 176f4ab commit be78dfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WebPI.PS.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function Get-CurrentModulePath () {
1111
function Invoke-WebPI () {
1212
$CurrentModulePath = Get-CurrentModulePath
1313
$arguments = $args -join ' '
14+
$CurrentModulePath = $CurrentModulePath.Replace(" ", "^ ")
1415
cmd /c "$CurrentModulePath\webpi\WebpiCmd.exe $arguments"
1516
}
1617

0 commit comments

Comments
 (0)