in reply to Complete part of a cgi script before the rest
Output the HTML, then deamonize.
Since you mentioned Excel, you might be on Windows. The same idea applies, but the execution is different. Output the HTML, the spawn off a child to do the background work. system(-1, ...) is an easy way to launch a background process in Windows.
Update: Oops, you might be on Windows! Added second paragraph.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Complete part of a cgi script before the rest
by e5z8652 (Novice) on Apr 15, 2010 at 17:14 UTC | |
by frieduck (Hermit) on Apr 15, 2010 at 20:28 UTC | |
by afoken (Chancellor) on Apr 16, 2010 at 20:00 UTC | |
|
Re^2: Complete part of a cgi script before the rest
by e5z8652 (Novice) on Apr 15, 2010 at 16:07 UTC |