I'm writing an script (.bat or .sh) which will open some new git-bash terminal and do some commands in window OS
I'm expecting my file working like below flow
#my script
open new git bash terminal -> do some commands to execute in git bash
wait user press any key to continue
open another bash terminal -> do some other commands
wait user press any key to continue
I've already have script run with Command-Prompt, but I want to do it on git-bash command. This is my script:
start cmd.exe /k %KAFKA_PATH%\bin\windows\zookeeper-server-start.bat %KAFKA_PATH%\config\zookeeper.properties
echo "Wait until zookeeper started."
pause