How many times I did find myself launching a script, or worst, seeing a process running on a system and wishing to take control over it… the answer is too many ð
Today I’ve found a nice solution at least for Linux systems with the utility reptyr.
While I’m writing this post the package is still in unstable dist, hence not part of the “standard” repositories for a Debian Linux system.
But you can download it using command:
wget http://http.us.debian.org/debian/pool/main/r/reptyr/reptyr_0.3-2_i386.deb
for i386 architecture.
Then, to install
qpkg -i reptyr_0.3-2_i386.deb
And finally you run it.
For example, to bring a process with pid 4242 to your running tty you type:
reptyr 4242
Enjoy!