Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 2 Nov 2000 15:20:12 -0500 From: Christopher Faylor To: cygwin AT sources DOT redhat DOT com Subject: Re: Starting Programms in the background Message-ID: <20001102152012.A14935@redhat.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sources DOT redhat DOT com References: <20001102195801 DOT 5529 DOT qmail AT web121 DOT yahoomail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <20001102195801.5529.qmail@web121.yahoomail.com>; from earnie_boyd@yahoo.com on Thu, Nov 02, 2000 at 11:58:01AM -0800 On Thu, Nov 02, 2000 at 11:58:01AM -0800, Earnie Boyd wrote: >--- Christopher Faylor wrote: >> On Thu, Nov 02, 2000 at 06:10:07AM +0100, klaus DOT berndl AT sdm DOT de wrote: >> >If i start a program in the background from bash (e.g. "winword.exe >> > &") then all is working fine. But if i try to exit from the >> >bash-shell from which i have started the program before i have finished >> >the program then bash writes "logout" but doesn?t terminate until i >> >terminate all previous started programs. >> > >> >How can this be avoided, means how to exit bash regardless of any still >> >running background programs? >> >> The only time this should happen is when you are using CYGWIN=tty. In this >> case, the main process (bash) "owns" the tty and can't exit until every >> child which is using the tty has exited. The only way around this is to >> not use CYGWIN=tty. >> > >Then it's broken. I assume notty is still the default, correct? Then the >window refuses to close until I exit the process. This is with 1.1.6(0.29/3/2) >build. Feel free to debug it. This exits for me on Windows NT. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com