On Fri, Aug 20, 2004 at 01:46:09AM +0100, David Given wrote:
> Rasmus Meldgaard wrote:
> >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()Thanks it works. But I am still not friend with lua. -- Rasmus Meldgaard
