@[email protected] to [email protected]English • 1 year agoSudo is coming to windowsprogramming.devimagemessage-square135fedilinkarrow-up11.01Kcross-posted to: [email protected]
arrow-up11.01KimageSudo is coming to windowsprogramming.dev@[email protected] to [email protected]English • 1 year agomessage-square135fedilinkcross-posted to: [email protected]
Source: https://blogs.windows.com/windows-insider/2024/02/08/announcing-windows-11-insider-preview-build-26052-canary-and-dev-channels/
minus-squareLaurel Ravenlinkfedilink13•1 year agoProbably something more like “Invoke-Command -AsAdmin” Which would be aliased to sudo
minus-square@[email protected]linkfedilink2•1 year agoThat’s what I wxpect. But with one more layer. In the end it’s going to be system32/elevator.exe which is called by Invoke-Elevation in ps which is aliased to sudo. It’s supposed to be available in cmd and batch so it must be callable directly
minus-squareLaurel Ravenlinkfedilink1•1 year agoI was more postulating what they probably would do if it were implemented directly in PowerShell But, as it turns out, it’s just sudo.exe in the command path
Probably something more like “Invoke-Command -AsAdmin”
Which would be aliased to sudo
That’s what I wxpect. But with one more layer. In the end it’s going to be system32/elevator.exe which is called by Invoke-Elevation in ps which is aliased to sudo.
It’s supposed to be available in cmd and batch so it must be callable directly
I was more postulating what they probably would do if it were implemented directly in PowerShell
But, as it turns out, it’s just sudo.exe in the command path