lua-users home
lua-l archive

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


Hi,
Is there a pure lua way to redirect stdout back into Lua?  For example
if I have the script:

os.execute("pwd")

Can I get the result of calling pwd back as a string in Lua?  If
there's not a pure Lua way, are there any modules out there that
redirect stdout?

thanks,
wes