elevate
elevate copied to clipboard
Certain Windows configurations can cause an infinite recursion
when UAC is disabled (no asking passwords) but the account isn't an administrator, then windows.elevate recurses forever (as isUserAnAdmin()
is never true and the function never crashes) and eventually eats up all the RAM spawning new processes.
Next I'll write the more permanent fix but i'm using a shim one in the path-resolving branch for now.
Actually I think this might happen regardless of UAC for me. On the other hand, my Windows 7 is screwed up and customised to the point where it might be the problem (although I wouldn't think with a separate new user account...)