ID: 8732
Updated by: cynic
Reported By: [EMAIL PROTECTED]
Status: Open
Old-Bug Type: Unknown/Other Function
Bug Type: Program Execution
Assigned To: 
Comments:

reclassifying

Previous Comments:
---------------------------------------------------------------------------

[2001-01-16 04:51:47] [EMAIL PROTECTED]
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;
?>
 

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=8732


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to