This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Bash exits after background command exits (B20)
- To: "Neil Schemenauer" <neil_schemenauer at transcanada dot com>, gnu-win32 at cygnus dot com
- Subject: Re: Bash exits after background command exits (B20)
- From: "Pierre A. Humblet" <Pierre dot Humblet at eurecom dot fr>
- Date: Thu, 05 Nov 1998 20:20:47 -0500
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
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".