lua-users home
lua-l archive

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


(You can tell that today is a Lua day, can't you...)

Does anyone know why the lua.c command line interpreter is set up to call 
do_path (which sets up the plugin loading paths) *after* it executes the 
script you tell it to?

This is leading me to the bizarre situation where my plugins work if I run lua 
and load them manually, but don't work if I try to run a script on disk. 
Which is less than useful.

This is all fixable by reversing the order of two lines in pmain, but there 
must be some reason why it was done that way...

-- 
+- David Given --McQ-+ "I don't like the thought of her hearing what I'm
|  dg@cowlark.com    | thinking." "*No-one* likes the thought of hearing
| (dg@tao-group.com) | what you're thinking." --- Firefly, _Objects in
+- www.cowlark.com --+ Space_