listing files

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

listing files

pancake
There's any way to list files using lua? luaposix doesn't handle getdents.

thx

Reply | Threaded
Open this post in threaded view
|

Re: listing files

Asko Kauppi-3

With plain Lua, the only way is to os.execute() 'ls' and/or 'dir' commands.
I can send you plain code (part of Hamster build engine) if you want. :)

-ak

4.6.2004 kello 16:26, pancake kirjoitti:

There's any way to list files using lua? luaposix doesn't handle getdents.

thx