Gerardo Grignoli
Gerardo Grignoli
I can repro this on all my machines with Win11 Pro 10.0.22000.1098. See #18333 Pwsh v7.2.6, using WT or ConHost. ~~Not ocurring when running ` Start-Process cmd -Credential (Get-Credential)` from...
Completed in #190 ### Features: - Added setting `gsudo config NewWindow.Force` to force every elevation in new window. Same as using `-n` every time. - Added `--KeepShell`: Keep elevated shell...
Released in v2.0.0 => https://gerardog.github.io/gsudo/docs/tips/elevation-in-new-window
Damn! v1.3 used ilmerge which I blamed, but v1.7 is packaged by dotnet self-contained NativeAOT... This may be a windows problem... Elevation is problematic on network drives because elevated and...
Do you remember the steps?
I have a network drive to test, but it's using a modern samba version, and not causing a restart.  Even tried in a loop elevating multiple times and the...
Other versions will fail as well. How did you installed gsudo? Are you using x64 version? Or .Net46?
Can you do in Pwsh `{ Get-SmbConnection | Select-Object -Property * | fl }` as admin, and paste here the relevant connection? you can redact what's private.
On PowerShell, `sudo command` is complicated, returns strings, not objects, so it breaks after the pipe `|`. If you already updated to `gsudo v1.6` (released 12 days ago) please try...
Does `gsudo -h` also crashes 1.4.1 ?