Re: parallel execution

From: Date: Sat, 18 Jul 2009 14:34:05 +0000
Subject: Re: parallel execution
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-295548@lists.php.net to get a copy of this message
On Sat, Jul 18, 2009 at 8:15 AM, kranthi<kranthi117@gmail.com> wrote: > Code: > > passthru('firefox &'); > echo '1'; > > I am expecting 1 to be echoed while firefox is running. but that is > not the case. ny ideas how i can make this work ? > > Kranthi. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > http://us.php.net/manual/en/function.passthru.php passthru — Execute an external program and display raw output This function will not return until the external program is finished running (when firefox exits). What you want are the proc_ functions.

« previous php.general (#295548) next »