lua-users home
lua-l archive

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


On Fri, Jun 19, 2009 at 9:20 AM, Katherine Shaughnessy <kathersh@nortel.com> wrote:
It turns out that os.execute doesn't have the expected behaviour on
vxWorks.

The scripts are not being executed - although there was no indication of
that after running the command.

Try io.popen().

The lua implementations of os.execute() and io.popen() are only a few lines, and worth reading.

Assuming your lua hasn't be customized to vxworks, they are simple wrappers around system() and popen(), if those don't work on your system (what do the vxworks docs say?), neither will the lua bindings to them.

Cheers,
Sam