LANGUAGE » LUA
IO
Popen
Run a program using a shell and get stdout:
lua
local cmd_handle = io.popen(shell_command)
local stdout = cmd_handle:read("*all") -- Won't read stderr
cmd_handle:close()