note 6759 deleted from Program Execution functions by jmoore

From: Date: Fri, 18 Aug 2000 23:23:19 +0000
Subject: note 6759 deleted from Program Execution functions by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-2562@lists.php.net to get a copy of this message
I want to execute a command in backgroupd. For example copying a lot of files which takes some time, and don't want viewer to wait for the next web page coming up. I tried system("cp * /tmp 2>&1 >/dev/null &"); but system function doesn't proceed until all files are copied. Is there any way to execute command in backgroud?

« previous php.notes (#2562) next »