[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to run in background through forking in Lua?
- From: Steve Litt <slitt@...>
- Date: Mon, 3 Jan 2011 10:00:54 -0500
On Monday 03 January 2011 08:53:54 Alexander Gladysh wrote:
> On Mon, Jan 3, 2011 at 16:42, Steve Litt <email@example.com> wrote:
> > In my Lua readings I haven't come across a fork() command. Is there a way
> > I can rewrite my ufork.pl in Lua? If not, is there a different way to do
> > it in Lua? If not that, I spoze I could do it in C and make sure it's
> > statically compiled so as to be distributable as a binary.
> See luaposix: http://luaforge.net/projects/luaposix/
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.
Recession Relief Package