lua-users home
lua-l archive

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


io.popen can either pipe to or pipe from a program. That's
because the C library routine can only do one of the two.

Now suppose a certain program writes unbuffered output.
Is there any way (coroutine, temporary file, whatever) to
read whatever output has just been written after providing
some input?