6

Possible Duplicate:
How can I pause up a running process over ssh, disown it, associate it to a new screen shell and unpause it?

It is fairly easy to disown a process, or make it run without a tty, but is it possible to transfer to process to your own tty?

By “disown a process”, I’m talking about running a command using nohup, or by running the disown builtin.

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255
Duncan
  • 201

2 Answers2

2

screen is very handy for this. Launch screen, launch the process inside screen, detach from screen. Then, screen -DR to resume.

glenn jackman
  • 85,964
1

Take a look at retty which finds the stdin, stdout and stderr of a process and attaches to them. However, you don't completely own the process like you did before so you can't send it signals.

dogbane
  • 29,677