Open itn3000 opened 7 years ago
windows 8.1 x64, $PSVersionTable output is here
$PSVersionTable
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
execute sudo.exe powershell in cmd.exe
sudo.exe powershell
boot powershell prompt, and be able to execute command.
freeze after displaying following message.
Windows PowerShell Copyright (C) 2015 Microsoft Corporation. All rights reserved.
(additionally, sudo.exe powershell Get-ChildItem was worked expectedly.)
sudo.exe powershell Get-ChildItem
I'm not sure. I'll look into it in later. Until the figure-out, you can use sudo -spawn powershell.
sudo -spawn powershell
Thank you for response. I executed with adding -spawn option, powershell was booted on another window, thanks.
-spawn
Environment
windows 8.1 x64,
$PSVersionTable
output is hereSteps to reproduce
execute
sudo.exe powershell
in cmd.exeExpected result
boot powershell prompt, and be able to execute command.
Actual result
freeze after displaying following message.
(additionally,
sudo.exe powershell Get-ChildItem
was worked expectedly.)