Re: Suggestion on executing external programs from within php

From: Date: Wed, 21 Jan 2004 14:03:12 +0000
Subject: Re: Suggestion on executing external programs from within php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175293@lists.php.net to get a copy of this message
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. -- Stuart

« previous php.general (#175293) next »