Edit report at http://bugs.php.net/bug.php?id=53424&edit=1
ID: 53424 User updated by: myselfasunder at gmail dot com Reported by: myselfasunder at gmail dot com Summary: passthru() and STDERR Status: Bogus Type: Feature/Change Request Package: Program Execution Operating System: Windows 7 PHP Version: 5.2.14 Block user comment: N Private report: N New Comment: ..Also: This issue is occurring within the context of trying to implement FFMPEG (which outputs everything in STDER because of how it can be used for pipes). Even if Windows has some support for redirection, it's not complete enough to work for FFMPEG. Redirection has no effect. Therefore, this passthru() needs to compensate in order to be functional for STDERR. Previous Comments: ------------------------------------------------------------------------ [2010-12-04 16:39:02] myselfasunder at gmail dot com This solution does not work for Windows. Although adding the "2>&1" on to the end of the command doesn't induce an error, it still DOES NOT redirect STDERR. Try it. Please just add the functionality. ------------------------------------------------------------------------ [2010-11-30 13:53:48] dtajchre...@php.net Windows also supports redirection: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en- us/redirection.mspx?mfr=true ------------------------------------------------------------------------ [2010-11-30 09:05:29] j...@php.net See bug #41874. ------------------------------------------------------------------------ [2010-11-30 07:29:12] myselfasunder at gmail dot com Please re-read the original ticket: "Please also display STDERR output. This is a request specific for Windows. Obviously this isn't a problem under Linux." You've provided the well-known Unix/Linux solution. This solution is not supported under Windows. Please re-open the ticket, even if you can't provide a solution at this time. This will save me the effort of opening another one. Dustin ------------------------------------------------------------------------ [2010-11-30 06:28:44] dtajchre...@php.net passthru("$cmd 2>&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/bug.php?id=53424 -- Edit this bug report at http://bugs.php.net/bug.php?id=53424&edit=1