From: Dominik Vogt <vogt@linux.vnet.ibm.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Really detaching jobs
Date: Fri, 2 Oct 2015 12:56:33 +0100 [thread overview]
Message-ID: <20151002115632.GA13749@linux.vnet.ibm.com> (raw)
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?
<ctrl-z>
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 ^_^ ^_^
next reply other threads:[~2015-10-02 12:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 11:56 Dominik Vogt [this message]
2015-10-02 12:43 ` Jun T.
2015-10-02 14:38 ` Dominik Vogt
2015-10-02 15:08 ` Bart Schaefer
2015-10-02 17:15 ` covici
2015-10-02 18:45 ` Mikael Magnusson
2015-10-05 6:52 ` Dominik Vogt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151002115632.GA13749@linux.vnet.ibm.com \
--to=vogt@linux.vnet.ibm.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).