bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "gitk &" closes parent bash upon exit


From: Illia Bobyr
Subject: Re: "gitk &" closes parent bash upon exit
Date: Thu, 9 Dec 2010 18:01:03 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.6

On 9/26/2010 6:24 PM, Keith Thompson wrote:
> Keith Thompson<kst-u@mib.org>  writes:
>> "Illia Bobyr"<Illia.Bobyr@ronin-capital.com>  writes:
>> [...]
>>>       When I do "gitk&" upon gitk exit the parent bash process
>>> terminates as well.
>>>       When I do "(gitk&)" it works fine.  There does not seem to be any
>>> crash dumps.  But sometimes bash outputs "Logout" before it exits just
>>> as if I would press ^D on prompt.  I have tried putting "gitk&" call
>>> into a script and adding traps for all possible signals but none seemed
>>> to be fired.
>>>       You do not have to be in a directory that is a Git repository.
>> I wonder how "set -o ignoreeof" in the parent shell would affect
>> the behavior.
> I don't see this behavior, either with or without "set -o ignoreeof".
>
> I see a pop-up error message: "Cannot find a git repository here";
> when I click "OK" the message vanishes, gitk terminates, and the
> parent bash shell is undisturbed.  Same thing whether bash is
> running under rxvt, xterm, or a Windows command window.
>
> $ cygcheck -c -d cygwin gitk bash
> Cygwin Package Information
> Package              Version
> bash                 3.2.49-23
> cygwin               1.7.5-1
> gitk                 1.7.0.4-2

It is a known issue with Cygwin 1.7.7:

http://www.mail-archive.com/bug-bash@gnu.org/msg07983.html
http://cygwin.com/ml/cygwin/2010-09/msg00641.html

Ilya



reply via email to

[Prev in Thread] Current Thread [Next in Thread]