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 g

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

2010-01-16 Thread Jordan Uggla
On Thu, Jan 14, 2010 at 1:12 PM, 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 minutes ag

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 wrote: > On Thu, Jan 14, 2010 at 1:12 PM,   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 th

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

2010-01-15 Thread Jordan Uggla
On Thu, Jan 14, 2010 at 1:12 PM, 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 repository >

lua 'grub.run' does not return message text

2010-01-14 Thread edgar . soldin
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 repository http://bzr.savannah.gnu.org/lh/grub-extras/ checked out