Open NeroVanbiervliet opened 2 weeks ago
It looks like you're using the batch file, yes? I don't know much about DOS and Powershell prompts, but perhaps it has a bug in how it interprets environment variables?
Yes you were right! I found the bug on line 31:
- SET passopt=!passopt! -e !%%i!
+ SET passopt=!passopt! -e %%i=!%%i!
Works on our machine, but someone more windows-savvy should probably have a look.
Should I make a PR?
Yeah, that'd be great, thank you!
On one of our machine we use Windows + Powershell. We are trying to set
SQITCH_USERNAME
in the environment, but it is not properly picked up:As you can see, the environment variable is passed down as
-e sensitiveusername
. This should be-e SQITCH_USERNAME=sensitiveusername
instead.Our workaround is the ugly: