Control from UNIX script is not returning to the Parent program

Hi All,

My program flow is as below

Windows batch -- > Cygwin batch --> zsh script

There are multiple Cygwin batch scripts that are called from Windows batch file . But when i am executing the first cygwin batch script the control goes to the zsh file and executes and stoping from there .

Please let me know what could be the issue.

At the end of zsh file i am using this

RTNVAL=0
exit ${RTNVAL}

Hi,

We'll need to see more than the last couple of lines of the script - all that tells us is that you set an "exit 0" at the end of the script.

Regards

Dave