Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 24098 invoked by uid 500); 13 Dec 2001 19:18:22 -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 24087 invoked from network); 13 Dec 2001 19:18:22 -0000 X-Authentication-Warning: rdu163-40-092.nc.rr.com: trawick set sender to trawick@attglobal.net using -f Sender: trawick@rdu163-40-092.nc.rr.com To: dev@httpd.apache.org, dev@apr.apache.org Cc: rbb@covalent.net, "Allan Edwards" Subject: Re: Windows cgi problem References: <20011213190953.68FC146E02@koj.rkbloom.net> From: Jeff Trawick Date: 13 Dec 2001 14:17:09 -0500 In-Reply-To: <20011213190953.68FC146E02@koj.rkbloom.net> Message-ID: Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ryan Bloom writes: > On Thursday 13 December 2001 11:02 am, Allan Edwards wrote: > > This might also be a problem on unix but I haven't tested. > > When cgi's are launched a window sometimes pops up, same for > > mod_include "exec cgi". Is there a reason we are not > > launching the cgi as a detached process? > > You definately do not want to detach on Unix, because if you do, the > CGI script will end up forking three times. yep... beyond that is the issue that detached on Win32 and detached on Unix really mean different things... what if we had a long-running-daemon attribute and a non-interactive attribute (yeah, please come up with better names): long-running-daemon non-interactive Win32 child doesn't get window child doesn't get window Unix all the forks, setsid, whatever no-op (just a rough sketch, but you get the picture) -- Jeff Trawick | trawick@attglobal.net | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...