#49478 [Fbk->Opn]: shell_exec does not work

From: Date: Tue, 22 Sep 2009 20:54:32 +0000
Subject: #49478 [Fbk->Opn]: shell_exec does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142722@lists.php.net to get a copy of this message
 ID:               49478
 User updated by:  elmue at gmx dot de
 Reported By:      elmue at gmx dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         Program Execution
 Operating System: Windows
 PHP Version:      6SVN-2009-09-06 (snap)
 Assigned To:      pajoye
 New Comment:

Yes you are right.
In the build from 22.sep.2009 this bug is fixed.


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

[2009-09-22 14:06:54] pajoye@php.net

Try with a recent snap please

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

[2009-09-22 14:06:37] pajoye@php.net

Windows, today snaps.

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

[2009-09-22 13:46:42] elmue at gmx dot de

Hello 

On which PHP6 version did you test it ?
Did you test on Windows ?

I used version build Sep 3 2009 21:23:55

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

[2009-09-22 08:41:40] pajoye@php.net

I can't reproduce it with php6 neither with 5.3 or 5.2 in CLI or FCGI.

Can you try it with CLI/CGI too please?

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

[2009-09-22 05:18:15] ian at iglou dot com

Also broken in PHP Version 5.2.10; safe mode off.

An earlier version (no record of which) did work when used thus to get
a Windows dvd volume label:

if (preg_match('#Volume in drive [a-zA-Z]* is (.*)\n#i',
shell_exec('dir '.$drive.':'), $m)) {
    $volname = ' ('.$m[1].')';

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49478

-- 
Edit this bug report at http://bugs.php.net/?id=49478&edit=1



Thread (8 messages)

« previous php.bugs (#142722) next »