From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5689 invoked by alias); 2 Oct 2015 14:48:48 -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: 20680 Received: (qmail 23890 invoked from network); 2 Oct 2015 14:48:47 -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 X-Helo: d06dlp03.portsmouth.uk.ibm.com X-MailFrom: vogt@linux.vnet.ibm.com X-RcptTo: zsh-users@zsh.org Date: Fri, 2 Oct 2015 15:38:24 +0100 From: Dominik Vogt To: zsh-users@zsh.org Subject: Re: Really detaching jobs Message-ID: <20151002143824.GA5942@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: zsh-users@zsh.org References: <20151002115632.GA13749@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15100214-0033-0000-0000-000004422CBA 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). Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany