lua-users home
lua-l archive

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


On Sep 28, 2010, at 3:56 AM, HyperHacker wrote:

> I don't think Lua offers a way to read both streams separately without
> redirecting one to a pipe or temporary file.

Right; lua-ex-api provides io.pipe and os.spawn:

http://code.google.com/p/lua-ex-api/

these can be used to make popen2 as described here:

http://lua-users.org/wiki/ExtensionProposal

e