From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5453 invoked by alias); 5 Oct 2015 06:52:35 -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: 20697 Received: (qmail 22531 invoked from network); 5 Oct 2015 06:52:33 -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: Mon, 5 Oct 2015 07:52:24 +0100 From: Dominik Vogt To: Zsh Users Subject: Re: Really detaching jobs Message-ID: <20151005065224.GA3528@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: Zsh Users References: <20151002115632.GA13749@linux.vnet.ibm.com> <20151002143824.GA5942@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: 15100506-0021-0000-0000-000004495D85 On Fri, Oct 02, 2015 at 08:45:21PM +0200, Mikael Magnusson wrote: > On Fri, Oct 2, 2015 at 4:38 PM, Dominik Vogt 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? > > 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