Cannot run program "PowerShell"

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cannot run program "PowerShell"

1,093 次查看
FranciscoLange
Contributor I

Hi, I just installed mcu xpresso IDE and I run into this problem everytime I want to debug a project with the active build configuration. I build it, and then, when I try to debug a message pops saying "Cannot run program "powershell": CreateProcess error=2, The system cannot find the file specified. I tried to add Powershell to my path variable, if that makes any sense, but it didnt do anything, or maybe im doing it wrong. Any help is welcomed, thanks!

0 项奖励
回复
4 回复数

1,010 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Have you installed PowerShell in some custom location? Can you start it from a Command Prompt? Note that if you changed the PATH variable, you'll need to restart any app that needs it updated, including MCUXpresso IDE. The error clearly indicates that the IDE is not able to find the needed program.

Regards,

MCUXpresso IDE Support

 

0 项奖励
回复

956 次查看
FranciscoLange
Contributor I
Not that Im aware of, i have it on %SystemRoot%\system32\WindowsPowerShell\v1.0\. After changing the PATH variable i restarted my pc and even reinstalled the IDE. Is there a way I can tell the program where to look for PowerShell? Thanks
0 项奖励
回复

1,061 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi FranciscoLange 

Please let us know:

1. your chip part number

2. your IDE version

Thanks,

Jun Zhang

0 项奖励
回复

1,027 次查看
FranciscoLange
Contributor I
Hi, sorry I've been busy this week.
Im working with a LPC845 BRK and with vesion 11.5.1 of MCUXpresso. Thanks
0 项奖励
回复