Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Really detaching jobs
- X-seq: zsh-users 20676
- From: Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Really detaching jobs
- Date: Fri, 2 Oct 2015 12:56:33 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Reply-to: vogt@xxxxxxxxxxxxxxxxxx
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 ^_^ ^_^
Messages sorted by:
Reverse Date,
Date,
Thread,
Author