Re: [PATCH] git help -w should not create nohup.out
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Feb 8, 2008, 11:25 UTC
- Message-ID
- <20080208112543.GV30368@dpotapov.dyndns.org>
- In-Reply-To
- <200802080637.04015.chriscool@tuxfamily.org>
On Fri, Feb 08, 2008 at 06:37:03AM +0100, Christian Couder wrote:
Show 7 quoted lines
> > I think I was worried about something like this: > > 1) ssh -Y other_machine > 2) git help -w, it opens my browser > 3) open many other tabs in the browser > 4) exit other_machine, oops my browser with all my tabs is gone
It seems to me that the browser will be killed anyway if ssh connection is closed. At least, that what happened when I used ssh -Y localhost. In fact, "nohup" made only easier to kill the browser in this way: ssh -Y localhost git help -w exit CTRL-C
Without "nohup" CTRL-C had no effect, but when I started the browser with nohup then the connection would be closed and the browser killed.
Dmitry