See Re^13: Forking Clients
In reply to Re: How to deal with a forked proces that is waiting for user input? by BrowserUk in thread How to deal with a forked proces that is waiting for user input? by gepapa