Skip to main content

Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: FLAC logging (Read 2833 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

FLAC logging

Can flac.exe write a log of displayed messages (to record version no., compression ratio, commandline,  verify (-V) status etc., for archiving)? Also, how does it behave when (or if) -V returns 'not ok' (i.e. does it beep, pause, quit or what)?

cheers, tonderai.

FLAC logging

Reply #1
Quote
Originally posted by tonderai
Can flac.exe write a log of displayed messages (to record version no., compression ratio, commandline,  verify (-V) status etc., for archiving)?


no, in unix or win32+cygwin you can just redirect stderr.  not sure how to do it in a DOS box.

Quote
Originally posted by tonderai
Also, how does it behave when (or if) -V returns 'not ok' (i.e. does it beep, pause, quit or what)? 


it will print an error and the exit code will be non-zero.

Josh

FLAC logging

Reply #2
From win32 command prompt (2k & XP, you're stuck on 95-ME, I believe), you can use 2> instead of just > to redirect stderr to file.  I'm not sure how to redirect stderr to stdout though, but at least you can do something like: "flac --help 2> header.txt > flachelp.txt" to capture everything to file.

 
SimplePortal 1.0.0 RC1 © 2008-2021