The reason I need to run it in the background and just display the
message is that the person that's going to be running this program
wants to be able to close the window. The process running in the
background can take up to 10 minutes and he's afraid that he may
accidentally close the window
If the only real purpose for the fork is so that the message can be
displayed, why don't you just display the message in a form, and then
go do the long operation single threaded. When the long operation
finishes, continue to output to the same page and use some javascript
to change the contents o
I'm working on a cgi script that basically, upon running it, runs a
separate script in the background, and displays a message saying
"Script is running. Should be done soon." on the web browser and...
that's it. The browser can be closed, and the script will continue to
run in the background. He