liyefei

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两个文件,并重启电脑;或者关闭 首页->安全防护中心->进程防护 按钮,不需要重启

 

分类:

技术点:

相关文章:

  • 2021-04-07
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2021-06-15
  • 2022-12-23
  • 2021-05-16
  • 2021-09-06
  • 2021-07-29
相关资源
相似解决方案