Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 75323 invoked by uid 500); 13 Jul 2001 02:44:32 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 75012 invoked from network); 13 Jul 2001 02:44:08 -0000 Message-ID: <006201c10b45$8d2118d0$6501a8c0@apache> From: "Bill Stoddard" To: References: <20010712173016.60889.qmail@apache.org> <02cf01c10b37$83cc36b0$1b00000a@roweclan.net> Subject: Re: cvs commit: apr/threadproc/win32 proc.c Date: Thu, 12 Jul 2001 22:43:00 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > From: > Sent: Thursday, July 12, 2001 12:30 PM > > > > stoddard 01/07/12 10:30:16 > > > > Modified: threadproc/win32 proc.c > > Log: > > Set the DETACHED_PROCESS creation flag > > > * window we are starting in. And we had better redfine our > > * handles for STDIN, STDOUT, and STDERR. > > */ > > + dwCreationFlags |= DETACHED_PROCESS; > > This bit us in the ass on Win9x a while ago. Essentially, you cannot launch > any detached 16 bit console process on 9x and trust it's stdin/out/err handles > are set appropriately, or closed correctly to tell the parent the child is dead. > > So if these are the apache.exe flags (and even logging or other non-cgi bits), great. > If they will be used to launch CGI, I'm -1 for this patch unless you test for > oslevel >= NT. > I'll check for oslevel >= NT. Bill