Open Tamnac opened 1 month ago
v7.3 changed how quoted arguments are passed (see stackoverflow explanation). This change sets a var keep using the old method for compatibility.
The issue seems to revolve around line 245 where you add another set of quotes
$p = '"{0}"' -f ((Join-Path $root_path $path) -replace "\\$")
In my brief testing, even if you don't add the extra quotes, powershell v5 still works fine with paths with spaces, so I don't know what that change was for, but I'll let it stay for now.
v7.3 changed how quoted arguments are passed (see stackoverflow explanation). This change sets a var keep using the old method for compatibility.
The issue seems to revolve around line 245 where you add another set of quotes
In my brief testing, even if you don't add the extra quotes, powershell v5 still works fine with paths with spaces, so I don't know what that change was for, but I'll let it stay for now.