Re: Asynchronous PHP Execution

From: Date: Sat, 05 Jul 2008 18:36:08 +0000
Subject: Re: Asynchronous PHP Execution
References: 1 2 3 4  Groups: php.general php.general 
Request: Send a blank email to php-general+get-276316@lists.php.net to get a copy of this message
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

« previous php.general (#276316) next »