未找到命令模块问题 #32243
Labels
Issue-Bug
Something isn't working
Needs-Author-Feedback
The original author of the issue/PR needs to come back and respond to something
Product-CommandNotFound
Refers to Command Not Found PowerToy
Status-No recent activity
no activity in the past 5 days when follow up's are needed
Microsoft PowerToys version
0.80.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Command not found
Steps to reproduce
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'pwsh.exe' with working directory 'C:\Program Files\PowerToys'. 系统找不到指定的文件。
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Microsoft.PowerToys.Settings.UI.ViewModels.CmdNotFoundViewModel.RunPowerShellScript(String powershellExecutable, String powershellArguments, Boolean hidePowerShellWindow)PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows
同时提示我未安装powershell及winget,但是我都安装了。
✔️ Expected Behavior
在上述路径里确实没有找到这个文件。
提示的我未安装powershell及winget,但是我都安装了。
❌ Actual Behavior
No response
Other Software
No response
The text was updated successfully, but these errors were encountered: