r/lua • • 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

12 comments sorted by

View all comments

Show parent comment

1

u/Old_County5271 Apr 12 '26
  1. Of course.
  2. You can pick any license, its your code, some folks that will release their game commercially tend to stay away from noncommercial licenses though.
  3. It's a hard problem, you can call uname to determine the OS on POSIX. if you're on linux, you check /etc/os-release, I did write a sysinfo script thats hundreds of lines long.
  4. I'm only semi kidding.