News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
[WIP] MurgaLua Reference Tool
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: [WIP] MurgaLua Reference Tool

I briefly tested the new design in Windows, and one major part doesn't work yet.

Finding the murgaLua executable (for 0.5.5 support) works fine, so I was happy about that part:

Code:
for i in pairs(arg) do
if not low or i < low then low=i end
end
MURGALUA=arg[low]


But the command that is supposed to pass the images directory to the individual demos doesn't work:

Code:
io.popen(MURGALUA.." -e 'images=\""..images.."\"' "..tempfile)

It gives an error concerning an unexpected symbol. I'm thinking it's either the escapes or the nested quotes.

EDIT: Next time I'm going to try this to see if it's better:

Code:
io.popen(MURGALUA..[[ -e 'images="]]..images..[["' ]]..tempfile)

This post was last modified: 02-13-2008 05:28 AM by mikshaw.

02-13-2008 04:14 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
[WIP] MurgaLua Reference Tool - mikshaw - 07-10-2007, 05:00 PM
RE: [WIP] MurgaLua Reference Tool - mikshaw - 02-13-2008 04:14 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: