Apart from the fact that, a script runs as a new process – with all that implies – yes, you’re correct.