You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running wacs.exe (with or without arguments) in some Windows consoles results in "(IOException): The handle is invalid" error.
Fails in: PowerShell ISE, Azure VM RunPowerShellScript
Works in: PowerShell, Command Prompt
To Reproduce
Open PowerShell ISE
run wacs.exe
This error is on v2.2.7. It works with v2.2.6.
Log
With --verbose:
[DBUG] Exception details: IOException {TargetSite=CONSOLE_SCREEN_BUFFER_INFO GetBufferInfo(Boolean, Boolean ByRef), Message="The handle is invalid.", Data=[], InnerExcep
tion=null, HelpLink=null, Source="System.Console", HResult=-2147024890, StackTrace=" at System.ConsolePal.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)\r\
n at System.ConsolePal.get_WindowWidth()\r\n at PKISharp.WACS.Services.InputService.WriteLine(String text, Nullable`1 color)\r\n at PKISharp.WACS.Services.InputServ
ice.CreateSpace()\r\n at PKISharp.WACS.Services.InputService.WritePagedList(IEnumerable`1 listItems)\r\n at PKISharp.WACS.Services.InputService.ChooseFromMenu[T](Stri
ng what, List`1 choices, Func`2 unexpected)\r\n at PKISharp.WACS.Host.MainMenu.MainMenuEntry(RunLevel runLevel)\r\n at PKISharp.WACS.Host.Wacs.Start()"}
Describe the bug
Running wacs.exe (with or without arguments) in some Windows consoles results in "(IOException): The handle is invalid" error.
To Reproduce
This error is on v2.2.7. It works with v2.2.6.
Log
With --verbose:
Full verbose output:
Platform:
Additional context
win-acme was installed using Chocolatey on an Azure VM.
The text was updated successfully, but these errors were encountered: