Re: parallel execution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux