#21065 [Opn->Fbk]: shell_exec seems not to work properly if result was false.

From: Date: Fri, 20 Dec 2002 01:15:54 +0000
Subject: #21065 [Opn->Fbk]: shell_exec seems not to work properly if result was false.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28055@lists.php.net to get a copy of this message
ID: 21065 Updated by: iliaa@php.net Reported By: dj-bj@gmx.net -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Windows 2000 Server PHP Version: 4.2.3 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-12-17 06:41:55] dj-bj@gmx.net Running PHP 4.2.3 on Windows 2000 Server shell_exec works fine and passes its output to the variable when the result of the executed command is true. However, if the command fails and the DOS-shell returns an error the result is no longer availiable in the variable but is passed directly to the page. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21065&edit=1

« previous php.bugs (#28055) next »