My problem is I´ve got no idea how to write this script and I haven´t found any description about the command which can be used!
So I´m trying to start the cmake-gui with a shell script (reason for that is to set the paths for cygwin in cmake)
If I´m running this bat:
@echo off
C:
chdir C:\cygwin\bin\
bash --login -i -c "exec ./cmake-gui"
the error is because I´ve got no idea how to use the -c parameter to change the directory!
You can chain commands by separating them with
;, (or&&or||, depending on your needs). So you’d write something like this: