lua-users home
lua-l archive

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


On Mon, Jan 3, 2011 at 18:00, Steve Litt <slitt@troubleshooters.com> wrote:

> I inserted require("luaposix") at the top of my program, and it errored out
> with "module 'luaposix' not found". I don't know if this is because I got the
> syntax wrong on the require statement, because I should have used something
> besides require, or because luaposix isn't installed. If it's the latter, that
> pretty much precludes my using it, because I don't want to require UMENU users
> to install any packages other than Lua.

Lua without packages is limited to what plain C89 may do. No POSIX
stuff there, no fork().

(And, as Steve Donovan noted, the module name is "posix".)

Alexander.