zsh-users
 help / color / mirror / code / Atom feed
From: covici@ccs.covici.com
To: zsh-users@zsh.org
Subject: Re: Really detaching jobs
Date: Fri, 02 Oct 2015 13:15:12 -0400	[thread overview]
Message-ID: <16697.1443806112@ccs.covici.com> (raw)
In-Reply-To: <20151002143824.GA5942@linux.vnet.ibm.com>

Dominik Vogt <vogt@linux.vnet.ibm.com> wrote:

> On Fri, Oct 02, 2015 at 09:43:58PM +0900, Jun T. 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?
> > 
> > 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).
> 

I just always use tmux and zsh and so if there is a disconnect, its good
to go.  Tmusx is just a better version of screen.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com


  parent reply	other threads:[~2015-10-02 17:46 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 [this message]
2015-10-02 18:45     ` Mikael Magnusson
2015-10-05  6:52       ` Dominik Vogt

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=16697.1443806112@ccs.covici.com \
    --to=covici@ccs.covici.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).