summaryrefslogtreecommitdiff
path: root/server/libs/lua/os.lni
diff options
context:
space:
mode:
Diffstat (limited to 'server/libs/lua/os.lni')
-rw-r--r--server/libs/lua/os.lni12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/libs/lua/os.lni b/server/libs/lua/os.lni
index 9e92de66..64d5f1c9 100644
--- a/server/libs/lua/os.lni
+++ b/server/libs/lua/os.lni
@@ -60,6 +60,7 @@ name = 'type'
type = 'string'
``````````
name = 'code'
+type = 'integer'
[[.enums]]
type = 'type'
enum = 'exit'
@@ -67,6 +68,17 @@ enum = 'exit'
type = 'type'
enum = 'signal'
+['execute Lua 5.1']
+name = 'execute'
+version = 'Lua 5.1'
+[[.args]]
+name = 'command'
+type = 'string'
+optional = 'self'
+[[.returns]]
+name = 'code'
+type = 'integer'
+
[exit]
[[.args]]
name = 'code'