mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
changes to wotk with protocol 860
This commit is contained in:
6
modules/core_lib/ext/os.lua
Normal file
6
modules/core_lib/ext/os.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
function os.execute(command)
|
||||
local f = assert(io.popen(command, 'r'))
|
||||
local data = assert(f:read('*a'))
|
||||
f:close()
|
||||
print(data)
|
||||
end
|
Reference in New Issue
Block a user