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:42 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"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.

-- 
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]