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)?
> fp = io.popen("ls")
> However, this isn't recommended from Ion
You can, of course, safely use this in the startup phase, but while
the WM is already running, you should use the popen_bgread (ion2)
or ioncore.popen_bgread (ion3) function provided by Ion. See the
function reference in the configuration manual for details.
--
Tuomo