From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6177 invoked by alias); 2 Oct 2015 12:07:01 -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: 20676 Received: (qmail 19060 invoked from network); 2 Oct 2015 12:06:58 -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: d06dlp01.portsmouth.uk.ibm.com X-MailFrom: vogt@linux.vnet.ibm.com X-RcptTo: zsh-users@zsh.org Date: Fri, 2 Oct 2015 12:56:33 +0100 From: Dominik Vogt To: Zsh Users Subject: Really detaching jobs Message-ID: <20151002115632.GA13749@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: Zsh Users MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15100211-0021-0000-0000-000004442813 Assuming a client machine is running a terminal emulator which is running an ssh connection to the server and zsh through that connection: Client: rxvt -> ssh Server: sshd -> zsh ->some job $ cd gcc-sources/build $ make -k check-gcc 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? bg disown % doesn't work and neither does make check-gcc &! I could use nohup, but then I need to plan that before issuing the command. The cases I care about are really jobs like a test run of Gcc which can take make hours and cannot be simply continued after interruption. Ciao Dominik ^_^ ^_^