与系统交互
执行系统命令
os.execute('whoami')
os.execute('ls -l')
os.execute("copy" .. originalPath .. "," .. backupPath)local t = io.popen('svn help')
local a = t:read("*all")
--a返回一个字符串,内容是svn help的内容编译
luac -o test.luac test.lua
-s 写入输出文件之前去除调试信息
-v 显示版本信息