parallel execution
am 18.07.2009 16:15:32 von kranthi
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
Re: parallel execution
am 18.07.2009 16:34:05 von LinuxManMikeC
On Sat, Jul 18, 2009 at 8:15 AM, kranthi 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 â=94 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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php