note 11237 added to exec

From: Date: Mon, 12 Feb 2001 11:10:41 +0000
Subject: note 11237 added to exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-10943@lists.php.net to get a copy of this message
I found that if you want to execute something in background, you have to use *both* & and >/dev/null. Maybe this is true only in some special situations, anyway my perl script wasn't executed in background until I did this: exec("myperlscript.pl parameters >/dev/null &"); Btw: refers to php3 on a Linux system. http://www.php.net/manual/en/function.exec.php

« previous php.notes (#10943) next »