[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Stdout
- From: Reuben Thomas <rrt1001@...>
- Date: Tue, 23 Jan 2001 16:53:36 +0000 (GMT)
> With respect to the output stream problem on Windows. ie. you cannot
> redirect stdout easily to catch Lua output.
See previous messages. There are very few functions that use _OUTPUT: print
and write are the only ones that spring to mind. You can trap these. Ditto
for _INPUT and read. If you want to use the handles directly in your own
routines it's admittedly trickier.
> [suggestions snipped]
This is all be done within Lua already: _STDOUT, _STDIN and _STDERR.
--
http://sc3d.org/rrt/ | aphorism, n. a wise lie