lua-users home
lua-l archive

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


Hello all,
My last two emails are not showed normally. Sorry that I have to sent again.
I have a simple Lua file, for example, hello.lua. The contents of the file starts with a shebang
 I first read the file content into a buffer. And then use luaL_loadbuffer and lua_pcall to call the function. However, I found that luaL_loadbuffer cannot return normally because it does not deal with the buffer started with a shebang. Any suggestion. Thanks.

--
     Best Regards,
     Baozeng Ding