[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to run in background through forking in Lua?
- From: Alexander Gladysh <agladysh@...>
- Date: Mon, 3 Jan 2011 18:05:41 +0300
On Mon, Jan 3, 2011 at 18:00, Steve Litt <email@example.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".)