Sub script calling procedure

Hi,

I have a doubt regarding how sub scripts will be executed and interested to know internal workflow,

For example - My main script is A,it calls a script B then B will call some C....and so on. Then B script run parallel to A or it will wait B to execute then
A will continue.

ScriptA.run body-

Test1.sql
ScriptB.run
test2.sql
ScriptC.run
exit

ScriptB.run Body
number1.sql
scriptD.run
number2.sql

Now how the flow will be?

Is it like this

ScriptA.run ->Test1.sql->ScriptB.run->number1.sql->scriptD.run->number2.sql
->test2.sql->ScriptC.run->exit

This will run your script inside a separate terminal on the fly.

xterm -e /path/to/your/file.sh &

Note that the "&" means the child script will run in _parallel_ with the parent script.