Not sure exactly if this is what you're shooting for (need more details), but I wrote
an article on forking a process, based on the research I did on it, on this site.
Randall Schwartz also wrote
an article on the same approach for Web Techniques.
Jason