ianthehenry / janet-whereami

a janet wrapper around the whereami library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

janet-whereami

A Janet wrapper around whereami. It exposes a single function, exe, which returns the absolute path to the currently executing executable.

It's like readlink /proc/self/exe, but cross-platform.

repl:1:> (import whereami)

repl:2:> (whereami/exe)
"/usr/local/bin/janet"

About

a janet wrapper around the whereami library

License:MIT License


Languages

Language:C 71.8%Language:Janet 28.2%