r/lua • u/Difficult_Dress_3960 • Apr 11 '26
Building a file execute function, what languages are commonly used with lua? (other then c)
Hi, I am creating a library for lua called OS+, in short, I am currently creating a function that can execute any file via `io.popen`.
What are some languages that are commonly used with lua that I should support for my function?
If your interested on OS+
https://github.com/HD-Nyx/Lua-OSP
3
Upvotes
3
u/VeronikaKerman Apr 11 '26
Do you want your library to compile the user-specified file as a source code? If it is a script or executable you do not need any special handling in your library.
1
u/Old_County5271 Apr 11 '26 edited Apr 11 '26
Uhhhh what? You're remaking posix.exec? it seems you're remaking penlight and std and luapath as well, that's a huge task, not that I haven't tried.
That license makes it useless though. sadly.
GetOS uses Handle, but IDK where handle is defined.
Don't say unix, you'll get sued.
1
u/Black_Jackal_Gaming Apr 11 '26
The “TempleOS-or-some-shit” line has me absolutely deceased. 😂😂
1
u/topchetoeuwastaken Apr 11 '26
i've seen it used with python, people do cursed stuff
0
u/[deleted] Apr 11 '26
[deleted] — view deleted comment