$ ps
UID PID PPID C STIME TTY TIME CMD
il 17626 1 0 14:02 ? 00:00:00 /bin/bash /usr/bin/xdg-open file:///media/distrpart/Downloads/utorrent/test.png
I want to know who launched xdg-open, but the parent is dead. Is there a way to not let processes die for a certain timeout?