I am wondering which path should be set in "Interpreter path" area in Run/Debug Configurations in IntelliJ, to complie and run bash script.
Using IntelliJ 15.0.3 on Windows 7
I am wondering which path should be set in "Interpreter path" area in Run/Debug Configurations in IntelliJ, to complie and run bash script.
Using IntelliJ 15.0.3 on Windows 7
If you want to use the Windows CMD.exe you have to set:
C:\WINDOWS\system32\CMD.exe
(or wherever your cmd.exe is located)/C
path/to/your/project
in the IntelliJ run config.
(Tested with IntelliJ 2017.3)
For gitbash as your interpreter i found 2 ways
1.- For "BashSupport" plugin in intellij
Type Ctrl + Alt + S to go to settings Search for Bash Support or go to "Languages & Frameworks->BashSupport" In "Default Interpreter" put the path for gitbash C:\Program Files\Git\bin\bash.exe
Then right click on the script to run and click on Edit script Then click in "Use project interpreter" Then in "Interpreter options" put --login -i --
2.- For "Shell Script" plugin in Intellij
First set gitbash as your terminal Ctrl + Alt + S to go to settings Search for Terminal or go to "Tools->Terminal" In "Shell path" put C:\Program Files\Git\bin\bash.exe
Then Right click on the script to run and click on Edit script Then in "Interpreter path" put C:\Program Files\Git\bin\bash.exe Then in "Interpreter options" put -login -i --
On Windows 10 you can also use PowerShell.
c:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
-Command