lua-users home
lua-l archive

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


On Wed, Jul 14, 2010 at 4:08 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> (I just wonder why this loop cannot be broken with ^C.)

I think the ^C just stops the sleep sub-process. To stop Lua you'd
need to type ^C twice *very* fast -- one to stop sleep and the other
to stop Lua before it runs another sleep subprocess. So, if there's
real Lua work instead of a sleep, it should work fine.

-Ricardo