Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Really detaching jobs
- X-seq: zsh-users 20684
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: vogt@xxxxxxxxxxxxxxxxxx, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Really detaching jobs
- Date: Fri, 2 Oct 2015 20:45:21 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XY2JkqlHyt8zqqNOvxnRkj1JhURfVS8aSv1BcAD65Ws=; b=hkw+YhkQzBtIyGBzY+RdXZ1GqlKVx6DwXO2moH0ryRBK7MZZ3AGB1LJMmaCqX2Smkh kTa2B1PQTAEem1B6TqBK5KKD2tp75Mq4bZhfpLYdnM6sRKXFrM9wGsFE/+sIEvNdh6Ez isShvC5IiGF0cfWtfTHfi9xlBwxrl7c/f7gV1J7uq17cGriwn7uuuFC1VhJce0pgf7tH isfaKc29dRNmTcQm5jtGcAGIWteboCJXmjIwvKyJ18MJOQoWBXUS+o4UJnVJOo4BJ9pv S04MQ5ggK4VkMWZSjrLqM/NPSKGYEGJ9haYJn61AcdA2e+L5A4nXS/dQqQ0c4j1VGxuy 6RIA==
- In-reply-to: <20151002143824.GA5942@linux.vnet.ibm.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20151002115632.GA13749@linux.vnet.ibm.com> <CBE69E4D-5DBB-48E1-848B-E23ABC62CF84@kba.biglobe.ne.jp> <20151002143824.GA5942@linux.vnet.ibm.com>
On Fri, Oct 2, 2015 at 4:38 PM, Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx> wrote:
> On Fri, Oct 02, 2015 at 09:43:58PM +0900, Jun T. wrote:
>>
>> 2015/10/02 20:56, Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx> wrote:
>>
>> > Is there a way to *really* detach the job so that it will complete
>> > if I close the terminal emulator or kill the ssh connection?
>>
>> You may try GNU screen: https://www.gnu.org/software/screen/
>> It has a "detach" command, which is exactly what you want.
>
> Yeah, but if I had known *in advance* that I'd have the problem,
> I'd just have used nohup. So the question is really how to detach
> a running process group from the controlling terminal, and whether
> zsh can help with that in any way (which I guess it cannot).
This may work with varying degrees of success, https://github.com/nelhage/reptyr
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author