Advertisement
Pinkishu

cotest

Aug 12th, 2012
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. function host(path,...)
  2.     print("S")
  3.     local p1,p2=os.run( _G, path, unpack(arg))
  4.     print("E")
  5. end
  6.  
  7. local co = coroutine.create(host)
  8. coroutine.resume(co,"mtshell")
  9. print(coroutine.status(co))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement