I'm trying to launch a Bash Shell window that should immediately start a Windows Application. It's the Bash Equivalent of "cmd /c MyApplication.exe". MyApplication is a Windows Console application.
I tried a couple of things that do not seem to work. Or just result in a hanging bash shell...
sh.exe --login -I MyApplication.exe
sh.exe MyApplication.exe
Creating a MyApplication.sh that starts MyApplication.exe seems to work, but is not desireable, as I'd like to include the start-up script in a debug macro.
sh.exepages, but that didn't help. The combination of-cand./did the trick. – jessehouwing Jan 05 '15 at 15:47bash -conly works for single argument command lines.cmd /c echo hello worldprints "hello world" butbash -c echo hello worldprints nothing. You can runbash -c "echo hello world", but this gets problematic when your arguments contains spaces and/or quotes. – OLL Dec 05 '18 at 14:48