Hi there,
From within perl, I am running a command that takes quite long to complete (loger than apache's http timeout)
I have something like $result = `./script1 arg1 arg2`
The thing is, I just want my cgi to continue without waiting for this line (script1) to finish processing.
I did $result = `./script1 arg1 arg2 &` but that didn't hlep. Is there a method to tell perl to just start off the script1 process and continue onwards without its completion?
From within perl, I am running a command that takes quite long to complete (loger than apache's http timeout)
I have something like $result = `./script1 arg1 arg2`
The thing is, I just want my cgi to continue without waiting for this line (script1) to finish processing.
I did $result = `./script1 arg1 arg2 &` but that didn't hlep. Is there a method to tell perl to just start off the script1 process and continue onwards without its completion?