Re: [INTERNALS-WIN] Advice for enhancing ext/standard/proc_open.c (Windows CLI only)

[email protected] ("NoteWorthy Online")
Newsgroups php.internals.win
Organization NoteWorthy Software, Inc.
Message-ID <1D37E0D139124C26AC11396E7C8164D1@nwswd>
> What's the goal of this patch exactly? Avoid the creation of the console 
> window?

Basically yes...the patch stops the presentation of an empty console window. 
I am trying to support a script that can make dozens of calls to proc_open. 
Without this patch, each call presents an empty, unresponsive console box 
for the duration of the created process.

> However the patch looks wrong. It kills the bypass shell option, which
> is not something we like to do.

It certainly doesn't intend to kill the bypass_shell option. In fact, the 
functionality in this patch requires that the bypass_shell option be set. 
AFAIK, the bypass_shell option should continue to work normally. Why do you 
think that the patch kills the bypass_shell option?

- Eric, http://noteworthysoftware.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.