delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/02/13:51:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 13:29:06 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Starting Programms in the background
Message-ID: <20001102132906.A13319@redhat.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <C9A98ED35114D31197D000805FEA668E0176E52A AT mucexch DOT muc DOT sdm DOT de>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <C9A98ED35114D31197D000805FEA668E0176E52A@mucexch.muc.sdm.de>; from klaus.berndl@sdm.de on Thu, Nov 02, 2000 at 06:10:07AM +0100

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
><document> &") 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.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019