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
C:\Windows\system32\cmd.exe" /k "D:\Program Files\cmder\vendor\init.bat
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.
As of 2017 "C:\Program Files\Git\bin\bash.exe"
in the shell path works perfectly on x64.
After the latest update the path needs to be in enclosed in quotes:
"C:\Program Files (x86)\Git\bin\sh.exe" -login -i
Go To View --> Tool Windows --> Terminal (or) Just Alt + F12.
If you want to use Windows Command Prompt you will need to add double quotes, so cmd.exe
becomes "cmd.exe"
.