This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: bash and '&'


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]