Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: subshell into a new process group
- X-seq: zsh-workers 54515
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Anthony Heading <ajrh@xxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: subshell into a new process group
- Date: Sat, 9 May 2026 21:49:33 -0700
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Ar71KUYrtHXwISgnWXraocHbpM/1DK1j/LnLBHsrZ34=; fh=cOsuM/DSAPz+Esg9LJ/IO8tbL30dysT8ilZRonPDrYM=; b=DJ7Tn+R+Bdx/fV03hqC/ThXYbEDHxBMT9Mr6hjeN6wek/8dE9wZebn7Q/BXL2CDJYH DKuhS8rg0/MzZwfKwHRB2rKrpaVdp/t685eBxZ/aOyGLTgPkQNS9xzWmSxomH0T21qIH vC5+OUgeJ5C4NXqMeSVo8jtnanoIfZ2lpZTkt31grvRg0/lY7gsLcpkC89dPi/9tEDM4 vqb3ToYe34JoG0GR0FcRXCRfNduTNy9hgE+MjXWbCKw47sCI+DaegXPfHviBkc9Hi5ks NFjj2mxeLOXTzorefJG68sLXBU/BeCb2MtnCi0FU7VU3GgGL+j7m/2NbFzTKZLSJb99G SR2w==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1778388585; cv=none; d=google.com; s=arc-20240605; b=eCZoreYn2QuUMMYO1vgthWfJwgGmh5yjGVg3t7+i5r0RNsfXiuD3UBKht0SKl5pXTS 1zPoAJFN2+ntrXHJpPUnmMyZwFn9Ikfheh8xopRKMzOJyPqrOwbBUe3sq+wqr6zzm06E LiqqjLh7nw/JSsuyj8eVTcrHbzhaZGm1n7jbx6xbb1DEa2vcVDqVLgNo+TL09Pxic0ht dBZcEjtE4TYjUlYPi5U2cBEp2zXU6DWQbLNuSAD4NxeE2ZZf1M+7rQKXkkh4K5obUnHT 57DiEBSy7f4sbXDCikkg5lXBR0gnMybqQuPiYOqslAQe3+0TzaLBpfkR35OFJXfBrvCH 9BGg==
- Archived-at: <https://zsh.org/workers/54515>
- In-reply-to: <CAH+w=7YTMtY10GmrcPujdNDmNT-JmdDswgynxrw65v7ghbVTTg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <c8058f0e-45c1-4c24-b607-70b64101b692@app.fastmail.com> <CAH+w=7ZujXuY1z9RV_L7CFzdqH7rBmZF+wBksWzBm16EAHGs-w@mail.gmail.com> <9aaad53b-da59-4e32-86a2-d496438cb05d@app.fastmail.com> <CAH+w=7YTMtY10GmrcPujdNDmNT-JmdDswgynxrw65v7ghbVTTg@mail.gmail.com>
On Sat, May 9, 2026 at 9:43 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Sat, May 9, 2026 at 4:44 PM Anthony Heading <ajrh@xxxxxxxx> wrote:
> >
> > For non-interactive shells, I don't think that & vs &! makes any
> > difference, it just affects whether the job escapes the job table and
> > thus avoids being SIGHUPed and so on. [...] 'disown' does feel like
> > the broad purpose is to push the child out of the nest.
>
> Hm, that raises an interesting point -- the "disown" builtin can't
> force the child to change process groups. That would mean &! gets a
> separate special meaning.
I believe I over-thought that: "disown" needs job control and this
change only applies to shells that don't have it. I was thinking
"disown" could be passed a PID, but it can't.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author