[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Call in the SWAT team to shoot emacs but spare Firefox
From: |
Stefan Monnier |
Subject: |
Re: Call in the SWAT team to shoot emacs but spare Firefox |
Date: |
Wed, 28 Mar 2012 19:20:39 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>>>> >> $ emacs --version
>>>> >> GNU Emacs 24.0.50.1
>>>> >> $ BROWSER=firefox emacs -Q -nw
>>>> > Try "nohup firefox" in the above, as myself and others on this thread
>>>> > have suggested.
>>>> That's a workaround. I think Emacs shouldn't require you to do that.
>>> Why? It's no different from any other shell that you run programs from.
>> Every shell intended for interactive use (bash, tcsh, zsh) offers a way
>> to make "nohup" the default so you don't need to use `nohup' explicitly.
> Huh? You can't do that since nohup redirects stdout/stderr to nohup.out.
I'm glad to know that my zsh does the impossible: when I kill my xterm,
any background job I have running (Emacs, xpdf, Firefox, ...) keeps on
living very happily even though I started them without the use of
`nohup'. Admittedly, they don't have their output redirected to
nohup.out, so it's not absolutely completely totally 100% identical to
running them with `nohup', but ... that's not what the OP requested in
the first place anyway.
Stefan