[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Need to "hook" the calls to write() and print()
- From: "Terry Bayne" <gnome@...>
- Date: Thu, 02 Aug 2001 09:03:07 -0500
I am trying to determine the best way to capture the output from the calls to write and print (and any other lua functions that write to STDOUT).
Maybe I am just dense, but shouldnt I be able to register a function with the name "write" (or "print") and that function will be called instead of the internal
functions? Or should I modify the lua source so that these functions send thier output to the lash Output window?
Any suggestions welcome.