Urmm... what's to stop your child from falling through to the parent code? Usually forked kids have an exit() to prevent this from happening. If you used exec() instead of system(), then you'd have an implicit exit. I think you need an exit. If not, I'm curious why.
blyman
setenv EXINIT 'set noai ts=2'