Re: PR_CreateProcess() without Windows console window?

Wan-Teh Chang <[email protected]> Fri, 30 Jul 2010 11:08:49 -0700
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
On Fri, Jul 30, 2010 at 6:25 AM, Fredrik Roubert <[email protected]> wrote:
> On Jul 12, 9:44 pm, Fredrik Roubert <[email protected]> wrote:
>
>> I'll write some example code to see what can be done with the right
>> flags to CreateProcess().
>
> This turned out to be very well documented and the flag that should be
> passed to the CreateProcess() system call is named CREATE_NO_WINDOW:
>
> http://msdn.microsoft.com/en-us/library/ms684863(VS.85).aspx
>
> I've written a piece of sample code to verify that I understood the
> MSDN text correctly and that this indeed does what I want. Phil has
> filed a bug report and I've attached to possible patches to it now:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=583223

Good find!  Thanks for doing the research and writing the patches.

Rob Arnold, you posted an intelligent answer to Fredrik question
on this thread before.  I'd appreciate your comment on using the
CREATE_NO_WINDOW.  (Feel free to comment here or in the
bug report.)  In particular, if "the console handle for the application
is not set", could that be problematic?  I am not familair with this
area.

Wan-Teh