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.
-- Stuart
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php