[comp.unix.wizards] Re-attaching an unattached process

robiner@ganelon.usc.edu (Steve) (12/05/87)

We had a problem the other day and I thought maybe someone
here would have an answer.

We had a program running in the background of the standard shell 
when the user logged out.  When we logged back in the process 
was still running with its own PID but of course, no parent shell.

Is there any way to re-attached the process to the current shell,
ie bring it to the foreground of the current shell.  The program
writes to a file and prints status info to stdout.  When the
process' parent shell was originally killed the process apparently 
sent output to /dev/null.  How can this be re-routed now
that the parent shell is dead?

We know we can kill it, but we don't want to do that.

thanks in advance,

=Steve Robiner=

Please E-mail responses. 

Robiner@ganelon.usc.edu     Robiner@usc-oberon.edu