lua-users home
lua-l archive

Re: dofile

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


Hi,
It seems to be blocked, reading from stdin, try:
echo 'print "hello"' | lua -e 'dofile()'


On Jan 11, 2008 1:42 PM, Hans Hagen < pragma@wxs.nl> wrote:
when called without argument

dofile()

seems to loop, is this ok?

-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------


AltStyle によって変換されたページ (->オリジナル) /