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: Keith Thompson
Subject: Re: "gitk &" closes parent bash upon exit
Date: Wed, 08 Dec 2010 15:51:45 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Nokia
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"


reply via email to

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