Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: have '&' automatically disown?
- X-seq: zsh-workers 28225
- From: Greg Klanderman <greg@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: have '&' automatically disown?
- Date: Thu, 02 Sep 2010 10:57:50 -0400
- In-reply-to: <100207143647.ZM9122@xxxxxxxxxxxxxxxxxxxxxx> (Bart Schaefer's message of "Sun, 07 Feb 2010 14:36:47 -0800")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <201002072134.o17LYj66005365@xxxxxxxxxxxxxxxxxxx> <100207143647.ZM9122@xxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: greg@xxxxxxxxxxxxxx
>>>>> On February 7, 2010 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Feb 7, 9:34pm, Peter Stephenson wrote:
> } Subject: Re: have '&' automatically disown?
> }
> } Greg Klanderman wrote:
> } > Would it make sense to just auto-disown when monitor is off?
> }
> } That *does* make a lot of sense, actually: if job control's turned off,
> } there's no point in half-pretending it isn't. Disowning existing
> } background jobs at that point at least makes more sense than having them
> } come back in a zombified fashion. I'll think about it tomorrow.
> Disowning a job makes it immune to HUP signals, etc. That's not what
> nomonitor is for -- turning off monitor is supposed to make zsh act
> like the old Bourne shell, where jobs still "belonged" to the shell
> and would be HUP'd if the terminal connection dropped, but the shell
> had no way move them between background and foreground.
[sorry for neglecting to reply for so long]
Would it make sense to auto-disown if both nomonitor and nohup are set?
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author