Bug #69847 [Fbk->NoF]: exec() : output parameter empty since 5.6.3

From: Date: Sun, 28 Jun 2015 04:22:23 +0000
Subject: Bug #69847 [Fbk->NoF]: exec() : output parameter empty since 5.6.3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193951@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69847&edit=1 ID: 69847 Updated by: php-bugs@lists.php.net Reported by: marcaurel at gmx dot de Summary: exec() : output parameter empty since 5.6.3 -Status: Feedback +Status: No Feedback Type: Bug Package: Program Execution Operating System: Windows Server 2008 R2 SP1 PHP Version: 5.6.10 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2015-06-24 13:57:34] marcaurel at gmx dot de unfortunately this bug is very hard to reproduce. As yet I couldn't write a simplified version of the scripts, which didn't show the same problem. I'll continue trying... and else I will add the normal scripts (which are a bit lengthy) here. ------------------------------------------------------------------------ [2015-06-19 11:13:51] ab@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2015-06-16 07:53:19] marcaurel at gmx dot de Description: ------------ I'm using PHP on Windows Server 2008 R2 SP1 / IIS7.5 I execute a PowerShell script via exec(). This PowerShell script produces output which is normally found in the output parameter of the exec() command. Since PHP 5.6.3 the output parameter of the exec() commmand is empty after the script has run. I've tested all versions from 5.6.1 to 5.6.10 The script is executed flawlessly with all versions but only 5.6.1 and 5.6.2 have the script's output in the exec() output parameter. All later versions fail to pass on the script output. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69847&edit=1

« previous php.bugs (#193951) next »