in reply to CGI redirection after headers sent

See my "Watching Long Processes through CGI" article. You just need some sort of interstitial, and some way to know when the forked task is done.