[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Cannot redirect stderr
- From: Rob Kendrick <lua-l@...>
- Date: Fri, 13 Nov 2009 14:09:59 +0000
On Fri, 13 Nov 2009 14:24:16 +0100
Sergio Fadda <firstname.lastname@example.org> wrote:
> I'm writing a standalone application (Win32... windowed) which
> integrates the LUA interpreter; the application uses LUA to export
> some features and I want to show console output in a separated window.
> Here's, a small _sample_ program that highlights my problem:
Firstly, Lua is not an acronym :) Secondly, does Windows have a call
similar to UNIX's dup2? This lets you duplicate a file handle to a
specific one (ie, so you can easily set what handles 1, 2 and 3
(stdout, in and err) go to.