Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未找到命令模块问题 #32243

Closed
putaomeiyoupi opened this issue Apr 5, 2024 · 4 comments
Closed

未找到命令模块问题 #32243

putaomeiyoupi opened this issue Apr 5, 2024 · 4 comments
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

Comments

@putaomeiyoupi
Copy link

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

@putaomeiyoupi putaomeiyoupi added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 5, 2024
Copy link

github-actions bot commented Apr 5, 2024

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.

@jaimecbernardo jaimecbernardo added the Product-CommandNotFound Refers to Command Not Found PowerToy label Apr 5, 2024
@jaimecbernardo
Copy link
Collaborator

Is Powershell accessible through the PATH?

Which PowerShell version did you install?

What method of installation did you use?

/needinfo

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Status-No recent activity no activity in the past 5 days when follow up's are needed and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 5, 2024
@CharlesHim
Copy link

你是否使用了系统内置的Powershell?如果是,那么去微软商店里下载新版powershell即可。

@microsoft-github-policy-service microsoft-github-policy-service bot added Status-No recent activity no activity in the past 5 days when follow up's are needed and removed Status-No recent activity no activity in the past 5 days when follow up's are needed labels Apr 11, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants