Hello everyone.
I've a perl application which has run time of several hours.
Till now I launch it from a ms-dos windows with output on file.
Now I'm trying to insert in in a web contest, using a submit in a php form that call a system with the launch of the perl script.
from php code:
$command="perl $dir\proof.pl";
system($command);
The system is syncronous, and then it blocks the browser window till the end of execution. Impossible.
I've tried with the forks both in php and in perl, but it seems that anyway the father process waits for the completion of the child.
Maybe I did something wrong.
Has anyone suggestions?
Thank you very much.
gero