lua-users home
lua-l archive

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

Whatever "w" does, that solved it!

Still have the "Black Box" issue and the program is indeed still locked up
when waiting. I guess it is simply not possibly to do what I was hoping to
do w/o creating threads. Something which I do not think can be done with the
current setup.

Another way is of course to write external programs by using the Ecco API.
That is, however, a bit beyond my current knowledge...

In any case, thank you to everyone who gave so many suggestions! This group
seems to be a great community. Wish that I understood programming better....

-----Original Message-----
[] On Behalf Of Shmuel Zeigerman
Sent: Wednesday, March 12, 2008 1:55 AM
To: Lua list
Subject: Re: NEWBIE Question: LUA wait() function?

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

- local
+ local,"w")