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 repository
> http://bzr.savannah.gnu.org/lh/grub-extras/
> checked out yesterday.
>
> What am I doing wrong?
>
> Thanks .. ede
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> 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 )


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to