On Sat, Jul 18, 2009 at 8:15 AM, kranthi<kranthi...@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.

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

Reply via email to