On 9/26/2010 6:24 PM, Keith Thompson wrote:
> Keith Thompson<ks...@mib.org>  writes:
>> "Illia Bobyr"<illia.bo...@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