ab (@abRoy) 在 Powershell 7 启动时崩溃,影响亚洲区域用户,附临时修复方法 中发帖

启动pwsh时会提示: 
PowerShell 7.6.6
Process terminated.
totalWidth ('-11') must be a non-negative value. (Parameter 'totalWidth')
Actual value was -11.
   at System.Environment.FailFast(System.Runtime.CompilerServices.StackCrawlMarkHandle, System.String, System.Runtime.CompilerServices.ObjectHandleOnStack, System.String)

...

[已退出进程,代码为 ... (0x...)]
现在可以使用Ctrl+D关闭此终端,或按 Enter 重新启动。

导致pwsh无法运行,原因为Power...
 
 
Back to Top