> I disagree that your ‘ echo hello’ example is free of side effects.
I posit that you understand perfectly well what i was getting at! If it helps, imagine that you are spawning a fresh shell to execute each command line, through system(3) or some such.