Posts: 1,450
Threads: 53
Joined: Feb 2011
Thanks: 15
Given 120 thank(s) in 91 post(s)
I don't think it's unsafe. The point is that it's only compatible with windows
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
It's as unsafe as running external programs can be - if someone puts a malicious cls.exe with your app, your app will run that instead of the system cmd.
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
Hmm, maybe you could try some sort of "curses" like thing for windows.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
Actually that's the primary mode of distribution for Lua. It even has a plugins system that way, I believe it is called LuaRocks; you can download and install various packages for quite a lot of functionality - sockets, db access, xml parsing...