in reply to Execute with No wait

This isn't exactly what you are looking for, but you could use a non-parsd header script (NPH).
There are two parts needed: (I believe it is still requred to return some sort of data periodically.)

A quick intro (with exmples) is here: http://www.wdvl.com/Authoring/Scripting/Tutorial/nph.html

For the other method. Do what mrmick suggested.
Have the script display an interim page (with a link to another script that will give you the results/status), but once you display the page you can then have the original script go off and do it's thing (recording results to a file). The second script i mentioned would read the results of the file and display them to the user. (if the script isn't done yet, there would be no results. alternatively you may want to provide periodic status updates during the execution of the original script)

Replies are listed 'Best First'.
RE: RE: Execute with No wait
by merlyn (Sage) on Aug 24, 2000 at 23:32 UTC
    Have the script display an interim page (with a link to another script that will give you the results/status), but once you display the page you can then have the original script go off and do it's thing (recording results to a file). The second script i mentioned would read the results of the file and display them to the user. (if the script isn't done yet, there would be no results.
    This is precisely what the program abstracted in my search in progress WebTechniques column does.

    -- Randal L. Schwartz, Perl hacker

      merlyn, I didn't want you to think I wasn't taking your advice. In fact I've been following it. It took me a short while but I was actually reviewing 'search in progress' when I came back to check for replies. So far this seems to be exactly what I was looking for! I *really* appreciate it and will let you know when I've done my re-write and tested. Thanks again, bp
        I wanted to thank you. This does work on linux. Unfortunately this particular app is on win32 (ugh!!) and I'm kinda where I started :-( Active State says "A way to mark a pseudo-processes as running detached from their parent (so that the parent would not have to wait() for them if it doesn't want to) will be provided in future." Suggestions?