Are there a way in lua to read the stdout of an commando you are executing (like `` in parl/ruby)?
If your Lua has been compiled with popen support, then you can do this:
fp = io.popen("ls")
s = fp:read()
fp:close()However, this isn't recommended from Ion because the code will wait for the command to exit, which might be some time and will cause the window manager to freeze.
-- [insert interesting .sig here]
