I have been trying to execute a java application through a php form .. so the submit button fire an execute command:
exec("java -jar c:\edu.uniroma3.jar c:\parameter2BPassed");
The first path determines where the jar file is, the 2nd one serves as a parameter.
The problem is that the script takes too long to be processed and I would like to bypass the waiting, is there anyway to do it (like a fire and forget)? The script writes results into a file, and I can check every 5 minutes if the file is there, but it's inconvenient getting stuck waiting for the process to finish...
any suggestions ?
thank you in advance