In Watching Long Processes Through CGI, merlyn closes STDOUT in the child process. Maybe that's what keeps your socket connection open until the child has finished too. I think you could force the page to render by closing STDOUT in the parent and then launching the child, but that way, you lose any way to tell the user that launching the child failed. Maybe you can adapt the code merlyn posted to your needs?
In reply to Re: CGI and Background Processes
by Corion
in thread CGI and Background Processes
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |