Jeff Pohlmeyer wrote:
local vb="test.vbs" local f=io.open(vb) f:write("WScript.Sleep(1000)\n") f:close() for i=1,10 do print("Waiting") io.flush() os.execute(vb) end
- local f=io.open(vb) + local f=io.open(vb,"w") -- Shmuel