Setting terminal to bash in Windows WebStorm 10

I have the following:

Windows 10 x64
Git for Windows x64 2.5.3
Webstorm 10.0.4

I would like to use bash as my local terminal in Webstorm but I cannot get it to do it.  

In File>Settings>Tools>Terminal>Shell path, if have tried the following:
C:\Windows\SysWOW64\cmd.exe /c ""C:\Program Files\Git\bin\sh.exe" --login -i"
""C:\Program Files\Git\bin\sh.exe" --login -i"
"C:\Program Files\Git\bin\sh.exe" --login -i
C:\Program Files\Git\bin\sh.exe --login -i

I have restarted between each attempt with no change to behaviour.  All I get in the terminal window is a blank screen with a blinking cursor with no input.

Any ideas?

2 comments
Comment actions Permalink

C:\Program Files (x86)\Git\bin\sh.exe --login -i works fine for me on Windows 7. Most probably your issue is caused by https://youtrack.jetbrains.com/issue/IDEA-143300; it's fixed in WebStorm 11

0
Comment actions Permalink

Sorry about a long time to contribute to this question. 

The problem is because you input two -- before "login". The correct path is...


"C:\Program Files\Git\bin\sh.exe" -login -i

 

Pay attention at this declaration, have only one "-" on "login". 

If you put that way gone work. 

more details about that you find on ...
https://www.jetbrains.com/help/webstorm/2017.1/working-with-embedded-local-terminal.html

Sorry, mi English buddy :(

3

Please sign in to leave a comment.