Re:What's the one Linux command you wish you knew years ago?
by Nick_C on Tuesday November 22, 2011 @10:37PM
(#3268649)
The only solution I've seen is to start up gdb with the process and point the process's 0, 1 & 2 file descriptors to the shell's STDIN, STDOUT and STDERR, then detach the process and quit gdb.
I can't remember the exact details, but that should be enough to set you up for some googling.
I can't remember the exact details, but that should be enough to set you up for some googling.