Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Really detaching jobs

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).

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

Messages sorted by: Reverse Date, Date, Thread, Author