microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
106.96k stars 6.31k forks source link

无法找到pwsh.exe #33574

Open UnfallenSeaMoon opened 4 days ago

UnfallenSeaMoon commented 4 days ago

Microsoft PowerToys version

0.81.1

Installation method

PowerToys auto-update

Running as admin

None

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 'E:\Program Files (x86)\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

✔️ Expected Behavior

安装模块

❌ Actual Behavior

无法安装

Other Software

No response

github-actions[bot] commented 4 days ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.