Hi,
Is it possible to reassign the PPID / parent process ID of a process (i.e. shift it to a different node in the process tree).
For example, I can open a terminal (process PPID=1) and execute a program in it (process PPID = terminal PID). Later I want to reassign the PPID to that of the GUI apps or something else (another application) - is that possible?
I can execute programs in the terminal using nohup command, which assigns the process a PPID of 1 - but that does not apply to already running processes or shifting to a different process. Also I can use screen to get applications running when the terminal closes, but again not useful for running processes / creating that process tree relationship when things get killed.
Thanks for any help, Jon
Bookmarks