[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why is LUA_EXEC_DIR Windows only?
- From: Scott Morgan <blumf@...>
- Date: Mon, 08 Jun 2015 14:29:35 +0100
On 05/06/15 17:39, Peter Drahoš wrote:
> In LuaDist this feature is supported on most other platforms as it
> is essential for locating modules installed alongside the
> executable. As you can see from the code it is VERY platform
> specific and in few cases unreliable.
>
> This is the only modification applied to Lua in the LuaDist
> distribution.
I had a feeling it'd need something like this. Thanks for the example.
I think I'll manage with a wrapper script to set the path environment
vars for now (probably the most Unixy way) and let the Windows EXEs
look after themselves.
Scott