How to open a terminal on WebStorm?

前端 未结 13 1557
心在旅途
心在旅途 2020-12-29 01:07

How do I get WebStorm to open a terminal?

When I try to do it I get an Exception:

\"java.io.IOEXception:couldn\'t create PTY\"

git

相关标签:
13条回答
  • 2020-12-29 01:42
    C:\Windows\system32\cmd.exe" /k "D:\Program Files\cmder\vendor\init.bat
    
    0 讨论(0)
  • 2020-12-29 01:42

    I had the same error with Cmder as my custom terminal. I ran PhpStorm 2018.2 as admin. That fixed the issue for me. No double quotes needed.

    0 讨论(0)
  • 2020-12-29 01:46

    As of 2017 "C:\Program Files\Git\bin\bash.exe" in the shell path works perfectly on x64.

    0 讨论(0)
  • 2020-12-29 01:48

    After the latest update the path needs to be in enclosed in quotes:

    "C:\Program Files (x86)\Git\bin\sh.exe" -login -i
    
    0 讨论(0)
  • 2020-12-29 01:50

    Go To View --> Tool Windows --> Terminal (or) Just Alt + F12.

    0 讨论(0)
  • 2020-12-29 01:54

    If you want to use Windows Command Prompt you will need to add double quotes, so cmd.exe becomes "cmd.exe".

    0 讨论(0)
提交回复
热议问题