debug info

This commit is contained in:
云风
2012-09-15 16:38:28 +08:00
parent c19846c3a5
commit 7e5ab8c48c
3 changed files with 26 additions and 2 deletions

View File

@@ -1,11 +1,12 @@
local skynet = require "skynet"
local print_r = require "print_r"
local cmd = { ... }
skynet.start(function()
local list = skynet.call(".launcher","lua", unpack(cmd))
for k,v in pairs(list) do
print(k,v)
if list then
print_r(list)
end
skynet.exit()
end)