Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a long-running process that was started in bash terminal on Debian. Unfortunately it wasn't started inside screen.
Is there a way to disconnect this process from current console and connect to it from screen?

share|improve this question
up vote 1 down vote accepted

Unfortunately, you won't be able to transfer ownership.

If all you want is to keep the process active while log out (and you're using bash), suspend the process with ^Z, then "disown -h" to release it from your shell.

share|improve this answer
    
So will it be running in background? – Wojtek May 9 '11 at 12:14
    
Yes, but you will be unable to attach to it if you kill your current shell. – Tzarium May 9 '11 at 12:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .