3 ms·
Errr... the general answer to "can I know the full path of the binary that was used to spawn <process>?" is "sure, just `readlink /proc/<process>/exe`".
by jfrunyon 6y ago
Errr... the general answer to "can I know the full path of the binary that was used to spawn <process>?" is "sure, just `readlink /proc/<process>/exe`".
- saagarjha 6y agoYeah, until the program deletes itself from disk on launch.
- richardwhiuk 6y agoOr edits that value.