sudo
sudo copied to clipboard
sudo stop when executing powershell.exe
Environment
windows 8.1 x64, $PSVersionTable output is here
Name Value
---- -----
PSVersion 5.0.10586.117
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.10586.117
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Steps to reproduce
execute sudo.exe powershell in cmd.exe
Expected result
boot powershell prompt, and be able to execute command.
Actual result
freeze after displaying following message.
Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.
(additionally, sudo.exe powershell Get-ChildItem was worked expectedly.)
I'm not sure. I'll look into it in later. Until the figure-out, you can use sudo -spawn powershell.
Thank you for response.
I executed with adding -spawn option, powershell was booted on another window, thanks.