If the child assignment truly clobbers the parent, won't the parent's assignment clobber the child? If it's portable enough, using exevpe/execve instead of execvp/execv would be preferred.