I need this for automated build configuration in Eclipse (long story). What I'm trying to figure out is the following. When invoking CMD from Run menu in Windows, one can do it as follows:
cmd /c CD "C:\Users\me\FolderWithExecutable" & executable.exe arg1 arg2
In other words, I can bring up the CMD window and execute a command in it, all from one line. Can I do the same thing with Cygwin? If I go to the Run menu (Windows+R), which is just a wrapper for a generalized Windows "run command" input, can I type in something like
C:\cygwin\bin\bash -SomeBashArgument cd "C:\Users\me\FolderWithBashScript" & script.sh arg1 arg2
or something similar, and make it do something analogous to what is done above with CMD?