Re: lua 'grub.run' does not return message text

2010-01-16 Thread Jordan Uggla
On Thu, Jan 14, 2010 at 1:12 PM, edgar.sol...@web.de wrote: When I run err,msg = grub.run(ls) only the variable err is filled with the exit code. msg is still nil .. I saw documentation that grub.run is supposed to return the output in the second variable. In the latest bzr ( pushed a few

Re: lua 'grub.run' does not return message text

2010-01-16 Thread edgar . soldin
thanks .. I am gonna double check this. Are their other undocumented variables like grub_errmsg. Where should I look for documentation? I'd also look at the source if necessary. About what I am doing. I found the listiso scripts http://ubuntuforums.org/showthread.php?t=1288604 while trying to

Re: lua 'grub.run' does not return message text

2010-01-15 Thread Jordan Uggla
On Thu, Jan 14, 2010 at 1:12 PM, edgar.sol...@web.de wrote: When I run err,msg = grub.run(ls) only the variable err is filled with the exit code. msg is still nil .. I saw documentation that grub.run is supposed to return the output in the second variable. I use lua from grub-extras

Re: lua 'grub.run' does not return message text

2010-01-15 Thread Jordan Uggla
On Fri, Jan 15, 2010 at 3:52 PM, Jordan Uggla jordan.ug...@gmail.com wrote: On Thu, Jan 14, 2010 at 1:12 PM,  edgar.sol...@web.de wrote: When I run err,msg = grub.run(ls) only the variable err is filled with the exit code. msg is still nil .. I saw documentation that grub.run is supposed to