Right! I wasn't aware of the forking. Replacing the shell process is indeed better. Thanks for the explanation.