lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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