1
I am using a preconfigured cygwin that is packaged into the MobaXterm product. Following is an example of the issue I am facing:
$ sbt package
/usr/bin/bash: /drives/c/apps/sbt/bin/sbt: No such file or directory
The actual command that should have been invoked is:
/drives/c/apps/sbt/bin/sbt
So what I need here is some environment variable that tells cygwin a set of potential extensions to file names:
Something along the lines of:
export EXE_EXTENSIONS=CMD,cmd,EXE,exe,BAT,bat
1The question mentioned not including the extension. – javadba – 2019-09-01T20:12:45.640
Thanksk @javadba. I have edited the answer. In fact this trick works for the executable without the extension as well. – itsraghz – 2019-12-10T06:56:06.007