HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by ashayh | Hacker News Reader
Full thread
ashayh
·
This should also do it: realpath /proc/$$/exe
View on HN
segfaultbuserr
·
+1. On Linux, with /proc, it's just much easier.
saagarjha
·
Not on macOS
Reply on news.ycombinator.com