help-gnu-emacs
[Top][All Lists]
Advanced

[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: Jorgen Grahn
Subject: Re: Call in the SWAT team to shoot emacs but spare Firefox
Date: Wed, 28 Mar 2012 19:20:06 -0000
User-agent: slrn/pre1.0.0-18 (Linux)

On Thu, 2011-07-28, Jean Magnan de Bornier wrote:
> jidanni@jidanni.org wrote :
>
> | I can't take it any longer.
> | I start Firefox by one of the million ways one can there in emacs.
> | Then hours later I wish to quit emacs, but...
> |    Active processes exist; kill them and exit anyway? (yes or no)
> | That's right. Emacs demands taking Firefox along with it to the grave,
> | It's either that, or it refuses to quit.
> | What do I have to do? Call in the SWAT team to shoot emacs but spare
> | its hostage Firefox? Yeah well I bet emacs has wrapped a bomb around
> | them both so there will be no survivors ("Shoot me and I'll take out the
> | whole process tree, motherf***er!")
> | So does one need to write a batch(1) job wrapper script to start Firefox
> | away from the hands of terrorism? Why can't there be a third answer to
> |    Active processes exist; kill them and exit anyway? (yes or no)
> | i.e., "No. Don't kill them, but exit anyway."
> | What kind of cheap 2nd hand Woolworth's software can't do that these days?
>>
>
> And if you start firefox from a shell, and then you kill the shell, will not
> firefox be killed? And without notice: emacs is more polite than the shell!

That varies between shells. Good old tcsh would let 'firefox &' survive,
while zsh prefers to bring it down (but there's an option to make it
not do that, or ask; CHECK_JOBS and HUP).

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .     .
\X/     snipabacken.se>   O  o   .


reply via email to

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