#42469 [Opn->Bgs]: system($Any_Windows_CLI_Program.exe); fails
| From: | jani@php.net | Date: | Wed, 29 Aug 2007 11:46:58 +0000 |
| Subject: | #42469 [Opn->Bgs]: system($Any_Windows_CLI_Program.exe); fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116814@lists.php.net to get a copy of this message | ||
ID: 42469
Updated by: jani@php.net
Reported By: wolny at mvcr dot cz
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows XP
PHP Version: 5.2.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-08-29 11:35:07] wolny at mvcr dot cz
Description:
------------
system($Any_Windows_CLI_Program.exe);
Program ignore input/output (output - none effect, input - infinite
loop).
Reproduce code:
---------------
my_cli_example.php:
<?php system('my_cli_example.exe'); ?>
my_cli_example.cpp:
#include <iostream>
int main()
{
char Buff[512];
printf("Enter text: "); // none effect
gets($Buff); // infinite loop
printf("Text is %s",Buff);
}
Command line:
gpp.exe -o my_cli_example.exe my_cli_example.cpp
php.exe my_cli_example.php
Expected result:
----------------
Program ask to text and repeat it into output.
Actual result:
--------------
Infinite loop, none output.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42469&edit=1