tibia-client/modules/corelib/ext/os.lua

7 lines
138 B
Lua

function os.execute(command)
local f = assert(io.popen(command, 'r'))
local data = assert(f:read('*a'))
f:close()
print(data)
end