I have installed the ShellEd
plugin in eclipse. Whenever I run a bash script it runs it using dash
even if I specify interpreter directive #! /bin/bash
at the top of the script.
How do I change this behavior?
Cygwin
or MSYS/MinGW
. Add the interpreter bash.exe
path in eclipse as follows:
Window->Preferences->Shell Script -> Interpreters
THere should be an option to set the bash interpreter as follows:
Window->Preferences-><the_plugin_name>->Interpreter.
you need to set you bash interpreter path here (/bin/bash
).
Eclipse will use the value you set here to execute your program.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With