Hi Folks,
I'm a relative newby to Unix shell scripts and have a driving script that calls third party sub-scripts. This has been created from a similar process within DOS.
The problem I have is that when the main script calls a subscript (using EXEC) then when the third party script issues it's final statement of EXIT the whole scripting process terminates. I'd much rather that only the sub script terminated and leave the main process intact to continue.
Is there something that I'm missing with EXEC or is another command available?
I'd rather not edit the third party scripts if I can get away without.
TIA,
I'm a relative newby to Unix shell scripts and have a driving script that calls third party sub-scripts. This has been created from a similar process within DOS.
The problem I have is that when the main script calls a subscript (using EXEC) then when the third party script issues it's final statement of EXIT the whole scripting process terminates. I'd much rather that only the sub script terminated and leave the main process intact to continue.
Is there something that I'm missing with EXEC or is another command available?
I'd rather not edit the third party scripts if I can get away without.
TIA,