how to replace the "disown" with "screen"?

bash

Solution

ctrl-z the program
bg %  so it wont die when you logoff
screen retty $Pid
will attach the running program into screen

Problem

``` ctrl-z disown -h %1 bg 1 logout ```

Original source

Related problems