Murga-Projects Forums

Full Version: "murgaLua -e string" in Windows and Mac
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Still haven't gotten back on a Windows machine to find a definite solution. I may just release the next widgets_demo beta as-is and hope someone else can fix it if it's broken in Windows =o)

mikshaw Wrote:
Still haven't gotten back on a Windows machine to find a definite solution. I may just release the next widgets_demo beta as-is and hope someone else can fix it if it's broken in Windows =o)

I'll volunteer to do that :-)

Cheers
JohnM

While we are on the topic, whats the " -e " for anyway.
Is there somewhere that explains those arguments?
It's a standard Lua commandline option, documented in section 6 of the Lua manual.

Quote:
-e stat: executes string stat

So for example, the following command would set scriptname.lua to use the plastic scheme even if Fl:scheme(NULL) is not in the script:

Code:
murgaLua -e "Fl:scheme('plastic')" scriptname.lua


In the new widgets_demo layout I'm using this to set the images variable so individual scripts can find the images. The scripts themselves cannot find this directory because they are run from temp files.

Pages: 1 2
Reference URL's