|
On 22/08/2008, at 7:44 AM, Wesley Smith wrote:
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
Isn't that what popen does? Cheers, Geoff