【問題】idea中Terminal不可使用


idea中自帶的Terminal可以很方便的執行cmd命令,突然有一天報了以下的錯誤:

 

Cannot open Local Terminal
Failed to start [C:\Windows\System32\cmd.exe] in D:/code/code_git/bic_ep_points_pay

Error starting winpty: ConnectNamedPipe failed: Windows error 232
This error can occur due to antivirus blocking winpty from creating a pty. Please exclude the following files in your antivirus:
 - D:\program_tools\IDEA202001_2\lib\pty4j-native\win\x86_64\winpty-agent.exe
 - D:\program_tools\IDEA202001_2\lib\pty4j-native\win\x86_64\winpty.dll


See your idea.log (Help | Show Log in Explorer) for the details.

解決辦法:

1 退出殺毒軟件,如360。

2 如果是360,可以在信任區中信任winpty-agent.exe和winpty.dll兩個文件,並重啟電腦;或者關閉 首頁->安全防護中心->進程防護 按鈕,不需要重啟

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM