[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: catching Lua output
- From: Philipp Kraus <philipp.kraus@...>
- Date: Sun, 2 Dec 2012 21:18:44 +0100
Hello,
how can I catch Lua print statements within my C code?
My Lua scripts run within a simulation on a different host and if the scripts runs a print statement I would like to catch the output and store it in a C variable for send the output back to the client.
I run a lua_call on the C code for running the Lua function.
Thanks
Phil