Alternative to /proc/self/exe
Jan Struyf <[email protected]>
| Newsgroups | gmane.os.hurd.general |
|---|---|
| Message-ID | <alpine.LFD.2.02.1110111111260.2016@akari> |
Dear All, I'm trying to port a piece of GNU / Linux software to GNU / Hurd. On Linux, there is /proc/self/exe to find the absolute path to the executable that you are running. Is there an alternative to this mechanism on GNU / Hurd? Or should the executable location be determined based on argv[0]? Thank you very much in advance! Best Regards, Jan