PHP 4.0 Bug #8732 Updated: execution function return always -1

From: Date: Thu, 22 Feb 2001 10:20:13 +0000
Subject: PHP 4.0 Bug #8732 Updated: execution function return always -1
Groups: php.dev 
Request: Send a blank email to php-dev+get-47230@lists.php.net to get a copy of this message
ID: 8732 Updated by: stas Reported By: f.labanvoye@cg70.fr Old-Status: Open Status: Duplicate Bug Type: Program Execution Assigned To: Comments: see #8992 Previous Comments: --------------------------------------------------------------------------- [2001-01-21 04:44:11] cynic@php.net reclassifying --------------------------------------------------------------------------- [2001-01-16 04:51:47] f.labanvoye@cg70.fr I trie to get the result code of exec, system or passthru function but i always get -1 under linux. version of php: 4.0.3pl1 et 4.0.4pl1 <? passthru("/bin/echo test",$r); echo $r; system("/bin/echo test", $r); echo $r; ?> I trie under winnt 4 sp6/apache 1.3.14 and it's works fine <? passthru("echo test", $r; echo $r; ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8732&edit=2

« previous php.dev (#47230) next »