lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> The /proc/PID/exe hack is of course not portable to other systems,
> notably OS X.  If we could find a more cross-platform way for POSIX
> executables to find themselves, I would be happy to move to it.

Using ARGV[0], and searching the env[PATH] for the exe if it's not
absolute could be a decent backup strategy.

Getting lua packages into the popular distributions is a better
long-term strategy, I can just install most lua packages from the
debian repos, and its easy.

Sam