From: Dominik Vogt <vogt@linux.vnet.ibm.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: Really detaching jobs
Date: Mon, 5 Oct 2015 07:52:24 +0100 [thread overview]
Message-ID: <20151005065224.GA3528@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAHYJk3TCRsa4KhMocdG7y7o_Bz+Hhh=qXehR02hxE6bqGB6wqg@mail.gmail.com>
On Fri, Oct 02, 2015 at 08:45:21PM +0200, Mikael Magnusson wrote:
> On Fri, Oct 2, 2015 at 4:38 PM, Dominik Vogt <vogt@linux.vnet.ibm.com> wrote:
> > 2015/10/02 20:56, Dominik Vogt <vogt@linux.vnet.ibm.com> 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?
>
> This may work with varying degrees of success, https://github.com/nelhage/reptyr
That's what I was looking for.
$ reptyr PID > /dev/null 2>&1
does the trick. Thanks!
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany
prev parent reply other threads:[~2015-10-05 6:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 11:56 Dominik Vogt
2015-10-02 12:43 ` Jun T.
2015-10-02 14:38 ` Dominik Vogt
2015-10-02 15:08 ` Bart Schaefer
2015-10-02 17:15 ` covici
2015-10-02 18:45 ` Mikael Magnusson
2015-10-05 6:52 ` Dominik Vogt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151005065224.GA3528@linux.vnet.ibm.com \
--to=vogt@linux.vnet.ibm.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).