Lua os.execute return value
snippet in lua

Lua os.execute return value

user1727

local handle = io.popen(command)
local result = handle:read("*a")
handle:close()