Closed nicerloop closed 2 years ago
sudo.ps1 does have limitations regarding the passed command; it escaping function mangles {}, $ and some other characters https://github.com/lukesampson/psutils/issues/42 https://github.com/lukesampson/psutils/issues/25
see https://github.com/lukesampson/psutils/blob/8af01127a949c64ea50b657989a4cd7744d4fffd/sudo.ps1#L40
using main/gsudo (https://github.com/gerardog/gsudo) works better
Works for me, thanks a bunch.
sudo.ps1 does have limitations regarding the passed command; it escaping function mangles {}, $ and some other characters https://github.com/lukesampson/psutils/issues/42 https://github.com/lukesampson/psutils/issues/25
see https://github.com/lukesampson/psutils/blob/8af01127a949c64ea50b657989a4cd7744d4fffd/sudo.ps1#L40
using main/gsudo (https://github.com/gerardog/gsudo) works better