s 命令="cd /storage/emulated/0/iApp/\nls"
call(返回,"mlua","sh.shell",命令)
ss("执行结果为:"+返回,内容)
tw(内容)
//以下代码放 sh.mlua
function shell(cmd)
local stream = io.popen(cmd);
local r = stream:read("all");
stream:close();
return r;
end
--真的无聊写的……残页
s 命令="cd /storage/emulated/0/iApp/\nls"
call(返回,"mlua","sh.shell",命令)
ss("执行结果为:"+返回,内容)
tw(内容)
//以下代码放 sh.mlua
function shell(cmd)
local stream = io.popen(cmd);
local r = stream:read("all");
stream:close();
return r;
end
--真的无聊写的……残页