[PHP-BUG] Bug #51402 [NEW]: popen() not work correctly!

[email protected] ("stefano at supergenesis dot it") Fri, 26 Mar 2010 16:10:59 +0100 (CET)
Newsgroups php.bugs
Message-ID <[email protected]>
From:             
Operating system: Windows 7
PHP version:      5.3.2
Package:          Filesystem function related
Bug Type:         Bug
Bug description:popen() not work correctly!

Description:
------------
I want to start gui application with use popen().
In windows xp i use pclose(popen("start /B calc.exe", "r")); and windows
open correctly the calculator.
In windows 7 this open a calculator but i show only in a process list, and
i not see the gui! Then in the services list i have set in the connect tab,
the propety interact with desktop. 

The problem is now when i start open(...) windows 7 show me a strange
message "an application want show a message" and show me 2 button that i
can read message or not. If i click on read windows go in strange mode and
show me the calculator, after i have to click another button to return from
'normal mode'.

What is this?!?!?



Expected result:
----------------
Open normal application without go in 'strange mode'!


-- 
Edit bug report at http://bugs.php.net/bug.php?id=51402&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=51402&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=51402&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=51402&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=51402&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51402&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=51402&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=51402&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=51402&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=51402&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=51402&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=51402&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=51402&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=51402&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=51402&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51402&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51402&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=51402&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=51402&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=51402&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=51402&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=51402&r=mysqlcfg