ID:               42469
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to