lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Sep 7, 2010 at 8:13 AM,  <pj@pjb.com.au> wrote:
> I can't see how to get to os.execute's stdin; or if I open a
> tmpfile with tmpfile() I get a filehandle but can't see how
> to find the filename so I can later
>    os.execute('aplaymidi '..tmpfilename)

How about io.popen() ? Does the handle creation for you....