note 94228 deleted from function.shell-exec by danbrown

From: Date: Fri, 23 Oct 2009 15:32:15 +0000
Subject: note 94228 deleted from function.shell-exec by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-162021@lists.php.net to get a copy of this message
Note Submitter: timh at lucidview dot net ---- I think it should rather be '2> /dev/null > /dev/nul' For example: <?php $output = shell_exec('ls file_not_exist 2> /dev/null > /dev/null & echo $!'); ?> Will return the PID

« previous php.notes (#162021) next »