|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9892 passthru() does not execute all commands in a *.bat-File
Submitted: 2001-03-21 05:12 UTC Modified: 2001-03-26 15:54 UTC
From: b dot rotondi at gmx dot ch Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.3 OS: Win2000 german
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: b dot rotondi at gmx dot ch
New email:
PHP Version: OS:


 [2001-03-21 05:12 UTC] b dot rotondi at gmx dot ch

Congratulation for you new Site-Layout. I like it! More white, more light :)

I think you already know this bug: passthru() does not execute all commands in a *.bat-File (and does not execute all commands included directly like

 $PassThru = "C:\\_\\bladeenc.exe -q -quiet C:\\_\\sound.wav C:\\_\\sound.mp3";

I used passthru already with success on my Win2000-Platform with php 4.04 and MS Information Server (both german, no Service-Packages). But bladeenc.exe and mp3enc31.exe cannot be executed 
(mp3enc31 hangs).

Thanks for any help, suggestion, infos.

- Or do you need further Details about the bug?

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<body bgcolor="#FFFFFF" text="#000000">
<script language="php">
	$PassThru = "C:\\_\\bladeenc.exe -q -quiet C:\\_\\sound.wav C:\\_\\sound.mp3";
	$PassThru = "C:\\_\\enc.bat";
//	$PassThru = "C:\\Mp3.exe -br 32000 -if C:\\1253.wav -of C:\\1253.mp3";
	echo $PassThru;

dir c:\ > c:\_\dir1
attrib -a c:\_\dir1
bladeenc.exe -q -quiet c:\_\sound.wav c:\_\sound.mp3
dir c:\ > c:\_\dir2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-26 07:06 UTC] b dot rotondi at gmx dot ch
-> Solved in 4.0.4pl1
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 14:01:28 2023 UTC