in reply to problem with forking
Forking Stuff.
In my case, I was having to run that forked process repeatedly. Maybe this can give you some more ideas to work with. Best of luck.