Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: edgar.soldin@web.de
To: grub-devel@gnu.org
Subject: lua 'grub.run' does not return message text
Date: Thu, 14 Jan 2010 22:12:16 +0100	[thread overview]
Message-ID: <4B4F88B0.8060009@web.de> (raw)

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




             reply	other threads:[~2010-01-14 21:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-14 21:12 edgar.soldin [this message]
2010-01-15 23:52 ` lua 'grub.run' does not return message text Jordan Uggla
2010-01-16  0:04   ` Jordan Uggla
2010-01-16 23:48 ` Jordan Uggla
2010-01-17  0:21   ` edgar.soldin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B4F88B0.8060009@web.de \
    --to=edgar.soldin@web.de \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox