From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21023 invoked by alias); 2 Oct 2015 17:46:44 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20683 Received: (qmail 29033 invoked from network); 2 Oct 2015 17:46:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 From: covici@ccs.covici.com To: zsh-users@zsh.org Mail-Followup-To: zsh-users@zsh.org Subject: Re: Really detaching jobs In-reply-to: <20151002143824.GA5942@linux.vnet.ibm.com> References: <20151002115632.GA13749@linux.vnet.ibm.com> <20151002143824.GA5942@linux.vnet.ibm.com> Comments: In-reply-to Dominik Vogt message dated "Fri, 02 Oct 2015 15:38:24 +0100." X-Mailer: MH-E 8.5; nmh 1.6; GNU Emacs 23.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16696.1443806112.1@ccs.covici.com> Date: Fri, 02 Oct 2015 13:15:12 -0400 Message-ID: <16697.1443806112@ccs.covici.com> X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: s-out-001.smtp25.com-t92HFCjR009241 Dominik Vogt wrote: > On Fri, Oct 02, 2015 at 09:43:58PM +0900, Jun T. wrote: > > > > 2015/10/02 20:56, Dominik Vogt 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