delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/21/06:53:28

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: B20, on NT4.0: Bash crashes when background process ends
21 Nov 1998 06:53:28 -0800 :
Message-ID: <75FBxT0ppfB.cygnus.gnu-win32@mike.franken.de>
References: <365430A3 DOT ED5954BF AT alodar DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi Robert,

[...]
>If you do the same thing with the process in the foreground (no '&' on
>the command line), bash does not go away.
>
>If you look really carefully at the bash window in the milliseconds
>between when you click on it and when it disappears, you can see the
>word "exit" displayed.

Warning - due to a bug for Cygwin B20 it must be

    CYGWIN=  tty binmode title strip_title glob

Note the leading two white spaces !!
And of course this env var has to be set *before* running any Cygwin
program ! On NT set it in your user env, for W9x set it in autoexec.bat !
If you want to use all the Cygwin programs from bash only, you can set
it in cygnus.bat of course.

This bug can cause your problem, because then bash exits after the last
background command has exited.

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://aquarius.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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