On Fri, Jun 30, 2006 at 08:28:52AM +0200, Georg Baum wrote:

> Abdelrazak Younes wrote:
> 
> > Indeed, for me neither. Works for other programs though... Surely
> > because it is a graphical program.
> 
> No. The reason is that debug output is sent to stderr, not stdout. "lyx -dbg
> info 2> foo.log" works on linux, but I don't know if the windows shell is
> clever enough to understand that.

lyx -dbg info 2> foo.log

works in the windows shell, too ;-)

To redirect both stdout and stderr:

lyx -dbg info > foo.log 2>&1

-- 
Enrico

Reply via email to