Hi Stuart,

I have finally had a chance to test your suggestion and I am still getting a browser timeout ?
The 1st program runs to completion even though the broswer times out. So it doesn't execute the second program :-(


I have also tried....

`/usr/local/bin/process_file file1 &`
exec('/usr/local/bin/process_file file1 &')

Any ideas??

John


Stuart wrote:


John Clegg wrote:

I would like to be able to execute 2 system calls simultaneously. I am not interested in the output and I would like to do the equivalent of a fork as these programs take a long time.

system('/usr/local/bin/process_file file1');
system('/usr/local/bin/process_file file2');


system('/usr/local/bin/process_file file1 &');
system('/usr/local/bin/process_file file2 &');

Should work in theory. Haven't test it though.


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to