> calling luaL_dofile seems to quit my programm, after several tests, I've > found that if I remove io.close() from a.lua, it works. io.close() closes stdout and so you don't see the result of your printf.