Subject: Re: Bash exits after background command exits (B20)
From: [email-masked] (Pierre A. Humblet)

6 Nov 1998 23:31:51 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: "Neil Schemenauer" <[email-masked]>,
        [email-masked]

At 01:02 PM 11/4/98 -0700, Neil Schemenauer wrote:
>For some reason bash is getting a EOF after a background command exits. 
>To keep bash open IGNOREEOF can be set to 1.  This prints "Use "exit" to
>leave the shell." after every background command exits.  Annoying. 
>Also, Control-C seems to still kill background tasks.  Setting
>CYGWIN=tty does not seem to help.  Finally, bash doesn't exit if there
>are background tasks running.  Help!
>
My experience with B20 on my Win95 box, CYGWIN=tty, is that bash will
freeze (not exit) after the last background command exits (well, 90% of the
time...), irrespective of IGNOREEOF....
Thus
sleep 10 &
sleep 20 &
(almost) guarantees a freeze in 20 secs.

Pierre

>
>	Neil
>-
>For help on using this list (especially unsubscribing), send a message to
>"[email-masked]" with one line of text: "help".
>
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".