Howdy! I'm stuck and I'm hoping someone can point me in the right direction.
I have a php script which when executed calls an external program. The external program goes off and figures some things out and the output of the program is returned as as an array to the calling PHP program.
Next a second external program is called and the process is repeated.
This goes on for 4 external program calls. The arrays are then analyzed and the results are outputted.
Since the 4 external programs are independent of each other but each takes 3 - 5 minutes to run, I would like to run them all at the same time and then, when they are all done, proceed with the rest of the analysis.
The problem is that I am stuck on how to make the above work or if it's even possible. Any suggestions would be appreciated.
Thanks,
Scott A. Eden