I'm facing a strange issue.
I compiled my app as exe using a command like:
%lua_path%\rtc -i .\panel.ico -o %lab_path%\myapp.exe -lnet -lwebview -ljson -lsysutils -lc -w main.lua .
The app ia made of main.lua and some other .lua files (that I assume automatically inserted by rtc).
If I click on myapp.exe from Windows Explorer the app works fine.
If I try to run the same muapp.exe from a Windows command prompt, my additional .lua files are not found with a message like: module 'xyz' not found: ,,.
It seems they are searched as DLL in this case.