Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Really detaching jobs



On Fri, Oct 02, 2015 at 08:45:21PM +0200, Mikael Magnusson wrote:
> On Fri, Oct 2, 2015 at 4:38 PM, Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx> wrote:
> > 2015/10/02 20:56, Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx> 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



Messages sorted by: Reverse Date, Date, Thread, Author