php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51402 popen() not work correctly!
Submitted: 2010-03-26 16:10 UTC Modified: 2010-03-30 11:51 UTC
From: stefano at supergenesis dot it Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 5.3.2 OS: Windows 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: stefano at supergenesis dot it
New email:
PHP Version: OS:

 

 [2010-03-26 16:10 UTC] stefano at supergenesis dot it
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'!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-26 16:17 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2010-03-26 16:17 UTC] pajoye@php.net
Not related to PHP, that's security and other settings in windows. Also I don't see why one would allow that by default in a web either.
 [2010-03-26 16:22 UTC] stefano at supergenesis dot it
Ok, but in this mode open(); not work correctly on windows 7!
 [2010-03-26 16:42 UTC] pajoye@php.net
It works just fine. If you have issues (other than this GUI problem), please explain them.
 [2010-03-30 11:51 UTC] stefano at supergenesis dot it
Ok, is a windows security problem! 
Close bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 23:01:32 2025 UTC