Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Compiling
From: Michael Graham (magog_at_the-wire.com)
Date: 2003-11-28


> ...and you can't redirect it to a file either, cos the errors are written
> to stderr and the messages to stdout - no way of knowing where the errors
> occur! D'oh!

FWIW, you can redirect STDERR in both cmd.exe and bash using the
following syntax:

    somecommand 2> errors.txt

You can redirect both at once with:

    somecommand 2> errors.txt > output.txt

For instance, try the following:

    perl -le "print 'message!'; print STDERR 'error!'" 2> errors.txt >output.txt

Michael

--
Michael Graham
magog_at_the-wire.com



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa