suzun30 has asked for the
wisdom of the Perl Monks concerning the following question:
I am having a web page which accepts an input excel file and does some processing and presents the output to the user for download via a link. After it does this, it continues to do some more processing on that file in the background, which I am attempting to achieve by using exec(bgscript.pl args).
I am running my webpage via IIS 6,on windows platform with activestate perl 5.8. The issue is the exec does not really seem to be happening after the display of the page to the user. The page still waits for the bg process to complete and then displays the output. While in most cases this is almost not noticeable since the processing time is minimal for both operations to complete, but in others its not and I get "page cannot be displayed" error. Is there a way to capture this error or make sure exec does not interfere with the page display.
Appreciate any inputs.