Re: Asynchronous PHP Execution

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

 



Richard Heyes wrote:
Also:

exec('sleep 5 >& /dev/null &');

Maybe?

Two ampersands you mean? Why - what does it do? You're also not redirecting STDERR.


I can't always remember because I think some things that are in c shell but aren't available in bourne have been incorpoated into bash. So I think in bourne/bash: >/dev/null 2>&1 and the >& may work in bash, I'll have to check.

-Shawn

--
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