RE: [PHP-DEV] Bug #3867: Exec() no longer returns the command output line

From: Date: Sun, 19 Mar 2000 16:35:34 +0000
Subject: RE: [PHP-DEV] Bug #3867: Exec() no longer returns the command output line
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-17026@lists.php.net to get a copy of this message
> > Hello Mike, Hey Manuel, > No, you are just confusing command output with the function return value. > What the manual means is that, unlike System(), Exec() does not dump the > output of the executed command to the output of the script. But that has > nothing with the Exec() function return value which should be set to the > last outputted line of executed command. Right. I went back to the snippet and assigned the output to a variable, and again, it did not hold the last line of the command output, as specified in the manual. > A site of mine broke when I upgraded to > 3.0.15. That's why I don't like to upgrade to the very latest version. > There is a risk of new bugs like this one. Yes. That's why I keep a cheap little linux box kicking around to test stuff on. I wasn't quite sure about this one, which is why I stayed on the list and didn't alter the report. Thanks for the tutorial. ;) Regards Mike R.

« previous php.dev (#17026) next »