简体   繁体   English

使用PowerShell与Code :: Blocks

[英]using PowerShell with Code::Blocks

My machine is Win 7. 我的机器是Win 7。

How can I change in Code::Blocks the shell from cmd to PowerShell? 如何在Code :: Block中将外壳从cmd更改为PowerShell? Code:Blocks use the cmd as a shell, but I want that he will use the PowerShell instead. 代码:块将cmd用作外壳,但我希望他改用PowerShell。 How can I do that? 我怎样才能做到这一点? my compiler is gfortran. 我的编译器是gfortran。

John 约翰

This not an real answer, but a suggestion. 这不是一个真正的答案,而是一个建议。 Do you try to change environement variable ComSpec ? 您是否尝试更改环境变量ComSpec

For example to : 例如:

C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM