grub-devel
[Top][All Lists]
Advanced

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

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


From: Jordan Uggla
Subject: Re: lua 'grub.run' does not return message text
Date: Fri, 15 Jan 2010 15:52:29 -0800

On Thu, Jan 14, 2010 at 1:12 PM,  <address@hidden> 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
> http://bzr.savannah.gnu.org/lh/grub-extras/
> checked out yesterday.
>
> What am I doing wrong?
>
> Thanks .. ede
>
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>

Looking briefly at the code, grub.run doesn't even attempt to return
the error message ( though that might be a useful feature to add ).
What documentation were you looking at?

-- 
Jordan Uggla ( Jordan_U on irc.freenode.net )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]