Cannot run program "PowerShell"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot run program "PowerShell"

649 Views
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 Kudos
4 Replies

566 Views
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 Kudos

512 Views
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 Kudos

617 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi FranciscoLange 

Please let us know:

1. your chip part number

2. your IDE version

Thanks,

Jun Zhang

0 Kudos

583 Views
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 Kudos