/lua-whereami

Lua module for finding your executable's path.

Primary LanguageCMIT LicenseMIT

lua-whereami

A Lua binding to the whereami library.

Usage

local whereami = require('whereami')

local exe, err = whereami()
-- exe will contain path to the lua interpreter

Licensing

This binding is under the MIT license (see LICENSE)

The original C library is released under the WTFPLV2 license.