What is io.popen?
This is part of the standard Lua library. You can invoke a process and stream output from it:
local P = io.open("ls");
local C = P:read("*a"); -- Read all output from ls command into variable C
This is part of the standard Lua library. You can invoke a process and stream output from it:
local P = io.open("ls");
local C = P:read("*a"); -- Read all output from ls command into variable C