delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/08/13:42:40

From: sos AT buggy DOT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: bash and '&'
8 Apr 1998 13:42:40 -0700 :
Message-ID: <01BD62C4.1479F190.cygnus.gnu-win32@sos>
To: "'Earnie Boyd'" <earnie_boyd AT hotmail DOT com>
Cc: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

Earnie Boyd wrote:
> You are not understanding the problem.  If in b18 bash you execute a job
> in the background, say for example "wish80 &", and exited the bash
> session then the TK window remained open and the console window died.
> If you do the same thing under b19, the bash process dies but the
> console window doesn't.  You can't do anything with it except to iconize

Disable tty support before running bash. Bash (as first cygwin application 
runned in the console) creates controlling tty for the console, wish 
inherits it and forces tty master threads of bash to run even after bash's 
"exit". B18 didn't has tty support.

BTW, sorry me for my wrong previous info - cygwish80.exe is a windows, but 
not console application.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
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