[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua for Linux, alpha release
- From: Sam Roberts <vieuxtech@...>
- Date: Wed, 17 Jun 2009 09:47:38 -0700
> 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, 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.