[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to run in background through forking in Lua?
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 3 Jan 2011 17:03:43 +0200
On Mon, Jan 3, 2011 at 5:00 PM, 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".
The module name is just 'posix', so require("posix") should work. Just
one of the little gotchas; what the library calls itself isn't
necessarily the name of the module (e.g. Luafilesystem/lfs,
luaexpat/lxp, etc)
steve d.